LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-11-2004, 07:03 PM   #1
thugbot3oo5
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
apt synaptic problems


ok, so i installed apt and synaptic on my machine running fedora 1. afterwards i begin downloading and installing a few things like k3b, mplayer, and totem. everything is great, and installs flawlessly. so i decide to upgrade some of the stuff i already have on my machine like gaim, an ftp client(already forgot which one) and two or three others. anyway, i start the install and my system freezes for about an hour. i get tired of waiting and decide that its time to end the process. now the whole system is pretty much locked. i decide to reboot and everything seems to be cool when the system starts. well, things are not cool. afterwards i tried to install those packages again and got the following message:

Unable to correct problems, you have held broken packages. Unable to lock the download directory.


i have tried googling this error and couldnt find any useful information. i also tried putting the error message into the search function of a few linux forums and still i came up short. any idea on how to fix this? i really would like to get a few more neat packages. any help would be great. thank you.
 
Old 03-12-2004, 03:10 AM   #2
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Have you tried to do
# apt-get --fix-broken

You can also select that option from the menu
Actions/Fix broken packages

Don't know if this is gonna help because I've seen lots of threads about apt-unable to lock the download directory and most of them seem to involve NFS, not broken packages.
 
Old 03-12-2004, 05:07 PM   #3
thugbot3oo5
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
yeah, i tried that. i also tried rpm -vv --rebuilddb, as well as apt-get -f install and apt-get -f remove.
 
Old 03-17-2004, 08:05 PM   #4
saxophobe
Member
 
Registered: Feb 2003
Location: Dallas, TX
Distribution: CentOS 5.3
Posts: 131

Rep: Reputation: 15
Synaptic Package Manager

Hi all!

I am having difficulties with apt/synaptic too. I used apt-get to download/install synaptic, but when I click on the Synaptic Package Manager from the KDE application list, Synaptic Package Manager will not start. It looks like it is launching, then quits.

Anyone have any ideas why this may be happening, or how I might fix it?

Please let me know when you get a chance.

Thanks for your time and consideration!

sax
 
Old 03-18-2004, 02:40 AM   #5
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Quote:
yeah, i tried that. i also tried rpm -vv --rebuilddb, as well as apt-get -f install and apt-get -f remove.
Sorry m8 but I have no clue where to go next from here, maybe one of the gurus from here will ...

Quote:
It looks like it is launching, then quits.
Anyone have any ideas why this may be happening, or how I might fix it?
Whenever something loike that happens, try to start the program from a terminal window, 99% of the time an error output is gonna be generated if there's a problem.

That might give you a clue to what's happening and if not it will probably mean something for someone else on these forums.
 
Old 03-18-2004, 03:11 AM   #6
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Quote:
yeah, i tried that. i also tried rpm -vv --rebuilddb, as well as apt-get -f install and apt-get -f remove.
Actually, now that I think of it, I did have an error similar to yours after upgrading from KDE 3.1.4 to 3.2.
Synaptic froze during the installation stage and I had to kill it after which it started to complain about missing widgets and not being able to lock the donwload directory and simply refused to start up.

I ran apt-get from a terminal, did
# apt-get update
# apt-get upgrade
and after that everything was ok again.

Also make sure that Synaptic's not running when you issue rpm commands from a terminal window.
 
Old 03-22-2004, 05:06 AM   #7
YuXeL
LQ Newbie
 
Registered: Sep 2003
Location: Turkey
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Re: Synaptic Package Manager

Quote:
Originally posted by saxophobe
Hi all!

I am having difficulties with apt/synaptic too. I used apt-get to download/install synaptic, but when I click on the Synaptic Package Manager from the KDE application list, Synaptic Package Manager will not start. It looks like it is launching, then quits.

Anyone have any ideas why this may be happening, or how I might fix it?

Please let me know when you get a chance.

Thanks for your time and consideration!

sax
hi,
the problem is not kde, not synaptic ... problem is gksu that runs synaptic as super user, but sth broken in gksu, simply change the executing command "gksu -u root /usr/sbin/synaptic" to "kdesu -u root /usr/sbin/synaptic" from kmenuedit > system > Synaptic
HTH
 
  


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
Synaptic / Apt-get problems in Ubuntu uzusan Linux - Software 1 10-22-2005 02:58 PM
KDE Install problems with Synaptic/Apt-Get hauger Debian 4 08-05-2005 11:18 AM
Problems with apt and synaptic lewindha Linux - Software 5 06-27-2004 06:24 PM
What's up with Apt/Synaptic lately?? TippyToes Linux - Software 0 01-13-2004 01:47 PM
how do you use apt and synaptic sasquash Linux - Software 2 11-03-2003 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration