LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-26-2004, 04:55 AM   #1
PDD
Member
 
Registered: Oct 2004
Location: Dublin
Distribution: RedHat 9.0
Posts: 59

Rep: Reputation: 15
apt-get problems


Hi Guys,

n00b here and having problems with apt-get. I am running RH9 and I am using apt-get ( I thought it was only for Debian but I got the binaries and installed it, seemed to go on just fine) Then I went to use apt-get (a package that I am truely impressed with just a few simiple commands and your system is up to date or new packages installed or removed - brilliant), first of all I decided to update KDE and so I went:

apt-get install KDE

all went fine, lots of lines went whizzing past on my screen as it downloaded each package then with about 10mins to go it said the connection to the server was lost (ayo.freshrpms.net) and it just died. Now where does that leave my update of KDE is it Kiboshed? Do I have to do re-install, can I contintue updating KDE by simply typing in the same command - as in will it pick up where it left off? If I try any other packages for apt-get the following error:

apt-get install qt
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package qt

Dave
 
Old 10-26-2004, 06:44 AM   #2
PDD
Member
 
Registered: Oct 2004
Location: Dublin
Distribution: RedHat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
Hi Guys,

And as if that didnt cook your noodle, I think apt-get may be buggered. I tried the following:

@apt-get check
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in
E: could not open RPM database

Now given that it was file permissions I did a reboot hoping it was temporary lock that had been put on them but alas no. What do I do now?

Dave
 
Old 10-26-2004, 06:47 AM   #3
dc2447
Member
 
Registered: Sep 2002
Posts: 43

Rep: Reputation: 15
Quote:
Originally posted by PDD
Hi Guys,

And as if that didnt cook your noodle, I think apt-get may be buggered. I tried the following:

@apt-get check
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in
E: could not open RPM database

Now given that it was file permissions I did a reboot hoping it was temporary lock that had been put on them but alas no. What do I do now?

Dave
are you root?
 
Old 10-26-2004, 07:02 AM   #4
PDD
Member
 
Registered: Oct 2004
Location: Dublin
Distribution: RedHat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
Apt-Get Problems

yep logged in as root and got:

Which solved the file permission problems (Duh Dave) but still getting a cant find pacakge error and when I go to do an upgrade it stalls when It cant find a key. Also when I go to do an autoclean it shows the following:L

apt-get autoclean
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory

Dave
 
  


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
apt-get problems curly08 Ubuntu 4 05-06-2005 03:51 AM
apt-get problems PDD Linux - Software 1 11-11-2004 05:44 AM
I am having APT problems UncleAnt Conectiva 1 10-15-2004 12:04 AM
apt-get problems ibrewale Debian 4 06-30-2004 01:30 PM
problems with apt-get wedgeworth Linux - Software 66 12-31-2003 05:19 PM


All times are GMT -5. The time now is 05:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration