LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-15-2003, 10:18 AM   #1
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
apt-listbugs and upgrading


I decided to upgrade my main desktop to sid. I installed apt-listbugs, changed default release and updated apt. Then when I run "apt-get dist-upgrade" (after it downloads all the files), I get a report of about ten broken packages. So when apt-listbugs asks me to continue, I type "h package1 package2 etc." It then echos that these packages have been pinned. I then say no to continue (since I'm supposed to restart apt). I run apt-get -u dist-upgrade, this time without need to download, and apt-listbugs lists the same bugs again. Shouldn't they be pinned, as it said it did? But ok, I press 'y' to continue, and the first package that is unpackaged is libc6-dev (a package that was supposed to be pinned, because it was broken). I kill apt-get and hope for enlightement.

Can someone who has experience with this let me know where I'm going wrong? Am I just being paranoid? But why is it trying to unpackage, if it's pinned? I really don't want to trash my main desktop...

Also, when I tried to go back to testing (note, only libc6-dev unpakaged part way, no more installation was done), I changed default release and updated apt. I cannot run any kind of installation, or upgrade - keep getting bunch of errors about that unpackaged libc6-dev (even after I remove --purged it)

Any advice greatly appreciated.
 
Old 08-15-2003, 11:42 AM   #2
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Original Poster
Rep: Reputation: 30
Looks like I completely screwed up apt. For example:

removed libc6; then:

# apt-get install libc6
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, libc6 is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
1 packages not fully installed or removed.
Need to get 3195kB of archives. After unpacking 0B will be used.
Get:1 http://http.us.debian.org testing/main libc6 2.3.1-16 [3195kB]
Fetched 3195kB in 10m46s (4942B/s)
Reading package fields... 0%tar: relocation error: /lib/libpthread.so.0: symbol __libc_pthread_init, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
dpkg-deb: subprocess tar returned error exit status 127
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Reading package fields... Done
Reading package status.. 0%/usr/sbin/apt-listbugs:790:in `quote': failed to convert nil into String (TypeError)
from /usr/sbin/apt-listbugs:790:in `create'
from /usr/sbin/apt-listbugs:789:in `each_key'
from /usr/sbin/apt-listbugs:789:in `create'
from /usr/sbin/apt-listbugs:1092
/usr/bin/perl: relocation error: /lib/libpthread.so.0: symbol __libc_pthread_init, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
tar: relocation error: /lib/libpthread.so.0: symbol __libc_pthread_init, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
dpkg-deb: subprocess tar returned error exit status 127
dpkg: error processing /var/cache/apt/archives/libc6_2.3.1-16_i386.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.1-16_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


any ideas?
 
Old 08-15-2003, 05:57 PM   #3
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
I've had minimal success with apt-listbugs, and I think it does the holding of packages in the wrong way. If it weren't in Ruby, I'd fix it myself It should do it via dpkg and not via apt.conf, in my opinion. echo "packagename hold" | dpkg --set-selections for example.

As far as the errors you are seeing ... I don't know why you removed libc6. You should have gotten a screen like this when you tried to do so:
Code:
WARNING: Performing this action will probably cause your system to break!
         Do NOT continue unless you know EXACTLY what you are doing!
To continue, type the phrase "I am aware that this is a very bad idea":
And if you went ahead and typed it in and it uninstalled it .. well, I'm not so sure you knew exactly what you were doing The easiest way to fix this (without reinstalling) would be to find a statically linked dpkg, download the libc6 deb that you want, and install it with that static dpkg.
 
Old 08-15-2003, 06:17 PM   #4
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Original Poster
Rep: Reputation: 30
sry, I meant I removed libc6-dev

I thought that was the original problem. As for installing libc6, I hoped it would figure out the right version -- which it did -- for 'testing'. But it would not install. I also tried a 'dpkg --force overwrite -i /var/cache/apt/archives/libc6_2.3.1-16_i386.deb' which didnt get me anywhere.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug in apt-listbugs ? samael26 Debian 1 06-23-2005 09:37 AM
apt-listbugs questions Tons of Fun Debian 10 04-26-2005 11:31 AM
packages not upgrading with apt bearwood Linux - Software 4 04-06-2005 04:39 AM
Is it safe to upgrade to KDE 3.3 with this apt-listbugs report? r3dhatter Debian 10 01-16-2005 12:59 AM
How to use apt-listbugs nacha Debian 5 07-28-2004 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration