Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31295 - dep-clean problems
Summary: dep-clean problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-16 10:47 UTC by Andrew Gaffney (RETIRED)
Modified: 2003-11-16 12:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gaffney (RETIRED) gentoo-dev 2003-10-16 10:47:18 UTC
upstairs root # dep-clean -U
sort: open failed: uniq: No such file or directory
These packages have no other packages depending on them.
app-shells/sash-3.4-r5
media-video/avidemux-2.0.2
net-firewall/iptables-1.2.7a-r3
net-misc/iputils-020927
net-misc/rsync-2.5.6-r3
sys-apps/cpio-2.5
sys-apps/diffutils-2.8.4-r4
sys-apps/fbset-2.1
sys-apps/file-4.05
sys-apps/hdparm-5.4
sys-apps/kbd-1.08-r3
sys-apps/less-381
sys-apps/man-pages-1.60
sys-apps/net-tools-1.60-r7
sys-apps/portagesql-0.2
sys-apps/psmisc-21.2-r4
sys-apps/setserial-2.17-r2
sys-apps/sharutils-4.2.1-r6
sys-apps/slocate-2.7-r2
sys-apps/which-2.16
sys-devel/bc-1.06-r5
sys-devel/bin86-0.16.13
sys-devel/gcc-3.3.1-r4
sys-fs/devfsd-1.3.25-r5
sys-kernel/development-sources-2.6.0_beta3-r8
sys-libs/db-3.2.9-r9
sys-libs/db-4.0.14-r2
Total of27 unneeded packages.
upstairs root # qpkg -q -nc -I arts
kde-base/arts-1.1.4
DEPENDED ON BY:

The first problem is the error message on the 2nd line. The second problem is that arts is not showing up even though qpkg (with patch from bug 31290) shows that nothing depends on it.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-16 11:48:39 UTC
qpkg with patch
qpkg -q -nc -I arts
kde-base/arts-1.1.4
DEPENDED ON BY:
        wine-20030911
        xmame-0.74.1
        gst-plugins-0.6.2-r1
        libsdl-1.2.6-r1
        openal-20020127
        xine-lib-1_rc1
        avidemux-2.0.14
        mplayer-1.0_pre2
        kadu-0.3.4
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2003-10-16 11:51:11 UTC
The 2nd problem I mentioned is no longer an issue. I realized arts wasn't
showing up because it was in the world file. As soon as I removed it, it
appeared in the list. I'm still getting that error message though.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-10-16 11:51:37 UTC
nikai any ideas ?
Comment 4 Andrew Gaffney (RETIRED) gentoo-dev 2003-10-16 12:25:38 UTC
If you change line 152 from:

        sort -u uniq \

to:
        sort -u \

the error is gone, but you get:

upstairs root # dep-clean -U
These packages have no other packages depending on them.
media-video/avidemux-2.0.2
net-firewall/iptables-1.2.7a-r3
net-misc/wget-1.8.2-r2
sys-apps/baselayout-1.8.6.10-r1
sys-apps/portagesql-0.2
sys-apps/qtparted-0.4.0_rc1
sys-devel/gcc-3.3.1-r4
sys-kernel/development-sources-2.6.0_beta3-r8
sys-libs/db-3.2.9-r9
sys-libs/db-4.0.14-r2
sys-libs/glibc-2.3.2-r1
Total of11 unneeded packages.

which I don't think is right, because with vanilla dep-clean:

upstairs root # dep-clean -U
sort: open failed: uniq: No such file or directory
These packages have no other packages depending on them.
app-shells/sash-3.4-r5
media-video/avidemux-2.0.2
net-firewall/iptables-1.2.7a-r3
net-misc/iputils-020927
net-misc/rsync-2.5.6-r3
net-misc/wget-1.8.2-r2
sys-apps/baselayout-1.8.6.10-r1
sys-apps/cpio-2.5
sys-apps/diffutils-2.8.4-r4
sys-apps/fbset-2.1
sys-apps/file-4.05
sys-apps/hdparm-5.4
sys-apps/kbd-1.08-r3
sys-apps/less-381
sys-apps/man-pages-1.60
sys-apps/net-tools-1.60-r7
sys-apps/portagesql-0.2
sys-apps/psmisc-21.2-r4
sys-apps/qtparted-0.4.0_rc1
sys-apps/setserial-2.17-r2
sys-apps/sharutils-4.2.1-r6
sys-apps/slocate-2.7-r2
sys-apps/which-2.16
sys-devel/bc-1.06-r5
sys-devel/bin86-0.16.13
sys-devel/gcc-3.3.1-r4
sys-fs/devfsd-1.3.25-r5
sys-kernel/development-sources-2.6.0_beta3-r8
sys-libs/db-3.2.9-r9
sys-libs/db-4.0.14-r2
sys-libs/glibc-2.3.2-r1
Total of31 unneeded packages.
Comment 5 Nicolas Kaiser 2003-10-16 18:38:03 UTC
Yes, "uniq" looks like a typo from whoever merged my patch, here the clean
original one:
http://bugs.gentoo.org/attachment.cgi?id=15633&action=view

To the best of my knowledge the above patch can't change sorting behaviour.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-11-16 06:14:16 UTC
fixed with latest gentool-kit
Comment 7 Andrew Gaffney (RETIRED) gentoo-dev 2003-11-16 11:38:16 UTC
Thanks.
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-11-16 12:13:20 UTC
excuse me, but how is this possible ?

mholzer@gentoo.org  2003-11-16 06:14 PST  Status  NEW  RESOLVED  
Resolution     FIXED  
tools-portage@gentoo.org  2003-11-16 07:50 PST  AssignedTo  portage-tools@gentoo.org
 tools-portage@gentoo.org  
Comment 9 Andrew Gaffney (RETIRED) gentoo-dev 2003-11-16 12:21:45 UTC
How is what possible?
Comment 10 Marius Mauch (RETIRED) gentoo-dev 2003-11-16 12:25:41 UTC
My fault, I did some mass changes as the portage-tools alias doesn't work
and was still logged in with tools-portage.