Gentoo Archives: gentoo-dev

From: Radoslaw Stachowiak <radek@×××××.pl>
To: gentoo-dev@g.o
Subject: [gentoo-dev] strange (critical) portage bug(?)
Date: Mon, 16 Dec 2002 09:30:35
Message-Id: 20021216092829.GT19114@blue.alter.pl
1 One of my gentoo linux is 1.4RC1, updated every day.
2
3 One day, I enabled unstable (~ARCH) to upgrade few packages
4 (pure-ftpd,also gcc, glibc, and few others which no i dont remember :(
5 just because stable version was old and i needed some features.
6
7 everything went smoothly. THen I returned to stable (by disabling ~arch)
8 and again daily started (manually) upgrading system.
9
10 But here I faced two problems, first is rather annoying while not
11 critical. it can be even considered feature :)
12 after upgrade to gcc 3.2.1 (unstable), and returned to stable, every
13 emerge -p world want to downgrade gcc to old gcc version. I think that
14 there should be at least switch/option to disable downgrades in case of
15 using unstable/stable packages mix. not to mention that such downgrade
16 can propably (?) result in unstable system (for example, one app can be
17 linked to downgraded library).
18
19 but the critical bug (?) i found is, that from the day when i changed
20 unstable back to stable, i emerge world manualy (each app/ebuild by
21 hand), waiting for some apps (gcc/glibc) to be promoted from unstable to
22 stable. and here starts sth strange. when one day I did such emerge
23 world (becasue, i checked that downgrade would not happen), emerge broke
24 after binutils, because binutils packagae was _removed_. I mean: upgrade to newer
25 version of binutils caused that there was NO binutils. emerge still
26 shows that package is installed but there was no binaries.
27
28 of course, without /usr/bin/as gcc stopped to work :( i installed by
29 hand binutills binaries. then I have to emerge unmerge bintuitils, again
30 install by hand my binaries, then emerge binutils. whats strange, that
31 automatic upgrade was/is broken. i mean, normal emerge binutils (without
32 firstly unmerge) resulted in removed files.
33
34 First I thought it was some kind of my fault, but today the same
35 happened with gzip. emerging it resulted in no gzip binaries on system.
36 Im not sure but i think that it is connected to this
37 stable/unstable/stable switch I made few weeks ago (gzip were one among
38 others upgraded to unstable version that day).
39
40 Here are some gzip details:
41
42 >>> Merging sys-apps/gzip-1.3.3 to /
43 --- /usr/
44 --- /usr/bin/
45 --- /usr/share/
46 --- /usr/share/man/
47 --- /usr/share/man/man1/
48 >>> /usr/share/man/man1/gzip.1.gz
49 >>> /usr/share/man/man1/zdiff.1.gz
50 >>> /usr/share/man/man1/gunzip.1.gz -> gzip.1.gz
51 >>> /usr/share/man/man1/zforce.1.gz
52 >>> /usr/share/man/man1/zgrep.1.gz
53 >>> /usr/share/man/man1/zless.1.gz
54 >>> /usr/share/man/man1/znew.1.gz
55 >>> /usr/share/man/man1/zcmp.1.gz -> zdiff.1.gz
56 >>> /usr/share/man/man1/zcat.1.gz -> gzip.1.gz
57 >>> /usr/share/man/man1/gzexe.1.gz
58 >>> /usr/share/man/man1/zmore.1.gz
59 --- /usr/share/info/
60 >>> /usr/share/info/gzip.info.gz
61 --- /usr/share/doc/
62 >>> /usr/share/doc/gzip-1.3.3/
63 >>> /usr/share/doc/gzip-1.3.3/txt/
64 >>> /usr/share/doc/gzip-1.3.3/txt/algorithm.doc.gz
65 >>> /usr/share/doc/gzip-1.3.3/txt/gzip.doc.gz
66 >>> /usr/share/doc/gzip-1.3.3/ChangeLog.gz
67 >>> /usr/share/doc/gzip-1.3.3/COPYING.gz
68 >>> /usr/share/doc/gzip-1.3.3/NEWS.gz
69 >>> /usr/share/doc/gzip-1.3.3/README.gz
70 >>> /usr/share/doc/gzip-1.3.3/THANKS.gz
71 >>> /usr/share/doc/gzip-1.3.3/TODO.gz
72 --- /bin/
73 >>> /bin/gzip
74 >>> /bin/gzexe
75 >>> /bin/zdiff
76 >>> /bin/zgrep
77 >>> /bin/zforce
78 >>> /bin/zless
79 >>> /bin/zmore
80 >>> /bin/znew
81 >>> /bin/gunzip
82 >>> /bin/zcat
83 >>> /bin/zcmp
84 >>> /bin/zegrep
85 >>> /bin/zfgrep
86
87 >>> Regenerating /etc/ld.so.cache...
88 >>> sys-apps/gzip-1.3.3 merged.
89
90 sys-apps/gzip
91 selected: 1.3.3
92 protected: 1.3.2
93 omitted: none
94
95 >>> Packages in red are slated for removal.
96 >>> Packages in green will not be removed.
97
98 >>> Waiting 5 seconds before starting...
99 >>> (Control-C to abort)...
100 >>> Unmerging in: 5 4 3 2 1
101 >>> Unmerging sys-apps/gzip-1.3.3...
102 No package files given... Grabbing a set.
103 <<< obj /usr/share/man/man1/znew.1.gz
104 <<< obj /usr/share/man/man1/zmore.1.gz
105 <<< obj /usr/share/man/man1/zless.1.gz
106 <<< obj /usr/share/man/man1/zgrep.1.gz
107 <<< obj /usr/share/man/man1/zforce.1.gz
108 <<< obj /usr/share/man/man1/zdiff.1.gz
109 <<< obj /usr/share/man/man1/gzip.1.gz
110 <<< obj /usr/share/man/man1/gzexe.1.gz
111 <<< obj /usr/share/info/gzip.info.gz
112 <<< obj /usr/share/doc/gzip-1.3.3/txt/gzip.doc.gz
113 <<< obj /usr/share/doc/gzip-1.3.3/txt/algorithm.doc.gz
114 <<< obj /usr/share/doc/gzip-1.3.3/TODO.gz
115 <<< obj /usr/share/doc/gzip-1.3.3/THANKS.gz
116 <<< obj /usr/share/doc/gzip-1.3.3/README.gz
117 <<< obj /usr/share/doc/gzip-1.3.3/NEWS.gz
118 <<< obj /usr/share/doc/gzip-1.3.3/ChangeLog.gz
119 <<< obj /usr/share/doc/gzip-1.3.3/COPYING.gz
120 <<< obj /bin/znew
121 <<< obj /bin/zmore
122 <<< obj /bin/zless
123 <<< obj /bin/zgrep
124 <<< obj /bin/zforce
125 <<< obj /bin/zfgrep
126 <<< obj /bin/zegrep
127 <<< obj /bin/zdiff
128 <<< obj /bin/zcmp
129 <<< obj /bin/zcat
130 <<< obj /bin/gzip
131 <<< obj /bin/gzexe
132 <<< obj /bin/gunzip
133 <<< sym /usr/share/man/man1/zcmp.1.gz
134 <<< sym /usr/share/man/man1/zcat.1.gz
135 <<< sym /usr/share/man/man1/gunzip.1.gz
136 <<< dir /usr/share/doc/gzip-1.3.3/txt
137 <<< dir /usr/share/doc/gzip-1.3.3
138 --- !empty dir /usr/share/man/man1
139 --- !empty dir /usr/share/man
140 --- !empty dir /usr/share/info
141 --- !empty dir /usr/share/doc
142 --- !empty dir /usr/share
143 --- !empty dir /usr/bin
144 --- !empty dir /usr
145 --- !empty dir /bin
146 >>> Regenerating /etc/ld.so.cache...
147 >>> emerge (5 of 12) sys-apps/texinfo-4.3 to /
148 >>> md5 ;-) texinfo-4.3.tar.gz
149 >>> Unpacking source...
150 >>> Unpacking texinfo-4.3.tar.gz
151 tar (child): gzip: Cannot exec: No such file or directory
152 tar (child): Error is not recoverable: exiting now
153 tar: Child returned status 2
154 tar: Error exit delayed from previous errors
155
156 !!! ERROR: sys-apps/texinfo-4.3 failed.
157 !!! Function unpack, Line 24, Exitcode 2
158 !!! failure unpacking texinfo-4.3.tar.gz
159
160 plagae / # gzip
161 bash: gzip: command not found
162 plagae / # /bin/gzip
163 bash: /bin/gzip: No such file or directory
164 plagae / # emerge search gzip
165 Searching...
166 * sys-apps/gzip
167 Latest version available: 1.3.3
168 Latest version installed: 1.3.2
169 Size of downloaded files: 304 kB
170 Homepage: http://www.gnu.org/software/gzip/gzip.html
171 Description: Standard GNU compressor
172
173
174
175 .radek.
176
177 --
178 gentoo-dev@g.o mailing list