Prev: East Asian fonts in Lenny
Next: Kde 3.5 ... (SOLVED)
From: Chris Austin on 11 May 2010 17:00 Hi, I was required to upgrade libc6 from lenny to squeeze in order to meet dependencies to install a package from unstable, but the libc6 upgrade failed because libc-bin was not installed. Now dpkg is broken. I tried a manual reinstall of the lenny libc6, as suggested in another thread on this list, but it did not work. The result was: debian:/home/chris# dpkg -i libc6_2.7-18lenny2_i386.deb dpkg: `ldconfig' not found on PATH. dpkg: 1 expected program(s) not found on PATH. NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. How can this be fixed? And shouldn't there be a big warning that trying to upgrade libc6 can break dpkg, on the Debian website page for libc6? Best regards, Chris Austin. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/201005112111.01329.chrisaustin(a)ukonline.co.uk
From: Jordan Metzmeier on 11 May 2010 17:10 > > > How can this be fixed? And shouldn't there be a big warning that trying to > upgrade libc6 can break dpkg, on the Debian website page for libc6? > > Best regards, > Chris Austin. > > > What should really be the "big warning" is mixing releases... I don't see this as possible however. How is dpkg to know that the libc6 upgrade is not for security patches or point release? I suppose something could be put in place so that the security repo is treated differently. The best way to avoid this: Don't mix releases. When necessary, its generally safer to build the source packages. You will also realize how far you are digging into testing when you start needing to backport libs. This is potentially reversible, but you should know in the future that core packages such as libc6, perl, python, and etc should never be mixed between releases. I have no advice for fixing the current issue... Only avoiding it in the future. -- Jordan Metzmeier
From: Sven Joachim on 11 May 2010 17:10 On 2010-05-11 22:11 +0200, Chris Austin wrote: > I was required to upgrade libc6 from lenny to squeeze in order to meet > dependencies to install a package from unstable, but the libc6 upgrade > failed because libc-bin was not installed. How could this happen, given that libc6 depends on libc-bin? > Now dpkg is broken. I > tried a manual reinstall of the lenny libc6, as suggested in another > thread on this list, but it did not work. The result was: > debian:/home/chris# dpkg -i libc6_2.7-18lenny2_i386.deb > dpkg: `ldconfig' not found on PATH. > dpkg: 1 expected program(s) not found on PATH. > NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. > > How can this be fixed? Use the "--force-bad-path" option, see "dpkg --force-help". > And shouldn't there be a big warning that trying to upgrade libc6 can > break dpkg, on the Debian website page for libc6? There is, actually this holds for any package: ,----[ http://packages.debian.org/en/squeeze/i386/libc6/download ] | If you are running Debian, it is strongly suggested to use a package | manager like aptitude or synaptic to download and install packages, | instead of doing so manually via this website. `---- Follow this advice and do not use dpkg directly if you don't know what you're doing. Especially not for required packages. Sven -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/87vdaujggp.fsf(a)turtle.gmx.de
From: Boyd Stephen Smith Jr. on 11 May 2010 17:30 On Tuesday 11 May 2010 16:05:04 Jordan Metzmeier wrote: > > How can this be fixed? And shouldn't there be a big warning that trying > > to upgrade libc6 can break dpkg, on the Debian website page for libc6? > > > > Best regards, > > Chris Austin. > > What should really be the "big warning" is mixing releases. Bah! WFM. That said, I definitely think twice about any proposal from apt(itude) that includes updating the system C or Perl runtime. I don't like having to recover from a broken apt (or worse dpkg) -- but that hasn't happened since I moved to Debian full time. (Pro Tip: A .deb is an "ar" archive.) -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss(a)iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
|
Pages: 1 Prev: East Asian fonts in Lenny Next: Kde 3.5 ... (SOLVED) |