LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 09-10-2002, 11:30 AM   #1
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
Debian aptitude - apt-get problem


I've got a strange one. As root, in aptitude, I'll do an update successfully. Then I do an upgrade, the files download, the progress bar will not show total progress, just progress per file, then reset to 0% for the next file. When the files complete downloading, I hit a carrige return to go to the installation phase, I get an error telling me that aptitude couldn't lock the cache, and will open it read only, and the upgrade stops.

Using apt-get, I update successfully, I do upgrade, the files start downloading, again, instead of getting a total progress percentage at the begining of each line, I just get some bogus number. When downloading is complete, I get an error message telling me that every file I just watched download is missing, and maybe I should try again with --fix-missing.

If I do something like 'apt-get --reinstall install apt', this works. If I use apt-get to install a new package, it installs the new package successfully along with any dependancies.

I'm running unstable with the 2.4.19 kernel on three machines, and this strange behavior only affects one machine. Anyone one got any ideas as to the problem?

TIA - mk
 
Old 09-15-2002, 07:11 AM   #2
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Original Poster
Rep: Reputation: 15
I found a work around by adding the line "Debug::NoLocking" to /etc/apt/apt.conf. This allowed me to do the upgrade. I also found out about this bug. Hope this helps anyone with the same problem now or in the future. -mk
 
  


Reply



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
apt-get vs. aptitude freddie_leaf Debian 28 01-13-2011 06:56 AM
is apt-get buggy or is aptitude lying!? Daveb3 Debian 14 07-26-2005 03:55 PM
Aptitude *better alternative* to Apt-Get? Triple5 Debian 6 12-05-2004 02:24 PM
Debian apps install with dselect,tasksel or aptitude always crash. SpItoS Debian 4 06-18-2004 07:36 AM
[debian] apt-get problem datogien Linux - Software 0 07-14-2003 06:36 AM

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

All times are GMT -5. The time now is 11:21 PM.

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
Open Source Consulting | Domain Registration