Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Jun 09, 2006 6:57 am 
Offline
Senior Newbie
User avatar

Joined: Thu Feb 12, 2004 7:31 pm
Posts: 9
I upgraded my Breezy Linode to Dapper and it broke aptitude. I then decided to start from scratch to make sure I hadn't messed up somehow. This is exactly what I did, starting from a fresh "Ubuntu 5.10 Disk Image":

# aptitude update
# aptitude upgrade

Changed /etc/apt/sources.list to:

Code:
deb http://us.archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse

# aptitude update
# aptitude dist-upgrade

Now that it's Dapper, whenever I use aptitude I get a segmentation fault:

Code:
# aptitude update
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
Segmentation fault

Has anyone else upgraded their Ubuntu distribution to Dapper successfully? I really need Dapper, and suppose I can do without aptitude (apt-get seems to work), but I'd rather not.

Maturin


Top
   
 Post subject:
PostPosted: Fri Jun 09, 2006 6:59 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
so id venture a guess that tls is an issue.. are u running a 2.6.x kernel? if so make sure u move /lib/tls to something else such as /lib/tls-disabled

cheers
Internat

_________________
ServerAdmin - www.our-lan.com
"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"
"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
 Post subject:
PostPosted: Fri Jun 09, 2006 7:52 am 
Offline
Linode Staff
User avatar

Joined: Fri Oct 17, 2003 12:38 am
Posts: 287
Location: Dr Wierd's Lab, South Jersey Shore
I would suggest making sure /lib/tls doesn't exist first. Aptitude does make use of the TLS libraries so it will segfault with the kernel you are currently booting with if /lib/tls exists.

I've had a similiar problem on occasion with apt and fixed it with:
Code:
rm /var/cache/apt/*.bin
The binary caches will get recreated when running apt again. You mention apt still working though so I'm not very optimistic this would solve your problem.

You might try removing then reinstalling aptitude:
Code:
apt-get remove --purge aptitude
apt-get install aptitude


Top
   
 Post subject:
PostPosted: Fri Jun 09, 2006 8:05 am 
Offline
Senior Newbie
User avatar

Joined: Thu Feb 12, 2004 7:31 pm
Posts: 9
Internat wrote:
so id venture a guess that tls is an issue.. are u running a 2.6.x kernel? if so make sure u move /lib/tls to something else such as /lib/tls-disabled

Yes, I'm running a 2.6 kernel, and your suggestion fixed the problem. Thanks for your speedy reply!

Interestingly, /lib/tls-disabled already existed (so I moved /lib/tls to /lib/tls-disabled2). I guess this had been fixed in the Breezy image and then the Dapper upgrade repopulated /lib/tls.

Maturin


Top
   
 Post subject:
PostPosted: Fri Jun 09, 2006 8:12 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
everytime glibc6 or something simular updates, ull have a tls folder recreated, something to keep an eye out for

_________________
ServerAdmin - www.our-lan.com

"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"

"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group