Author Topic: [SOLVED] Self-made problem... I lost Synaptic!  (Read 591 times)

Offline bidder

  • Full Member
  • ***
  • Posts: 87
[SOLVED] Self-made problem... I lost Synaptic!
« on: September 19, 2011, 07:34:10 AM »
Well, here's a good one. I was having a problem wherein when I clicked on the Synaptic icon it would indicate activity and then nothing. However I could start it as root at the command line. So.... I removed it with the intentio of re-installing and wouldn't you know it: it's not in the repository! I went into PCC and activated auto updates.

I have since discovered that my problem extends to any program that should display a prompt for the root password: they don't.

First things first. Any idea how to get Synaptic back?
« Last Edit: September 20, 2011, 06:56:02 PM by bidder »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Self-made problem... I lost Synaptic!
« Reply #1 on: September 19, 2011, 07:43:44 AM »
In a root terminal/konsole issue these commands:     
Code: [Select]
apt-get update && apt-get dist-upgrade     
Code: [Select]
apt-get install synaptic     

Offline brucejg10

  • New Friend
  • *
  • Posts: 5
Re: Self-made problem... I lost Synaptic!
« Reply #2 on: September 20, 2011, 04:08:18 AM »
Hi,

I just had the same problem with synaptic after I updated to a new sources.list. I then uninstalled it and tried to reinstall but got the message:

"Package synaptic has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list"

I tried the suggested fix but keep getting the above message.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Self-made problem... I lost Synaptic!
« Reply #3 on: September 20, 2011, 04:23:43 AM »

Offline brucejg10

  • New Friend
  • *
  • Posts: 5
Re: Self-made problem... I lost Synaptic!
« Reply #4 on: September 20, 2011, 05:00:20 AM »
This is on a 2010 version updated regularly so it should be the same as 2011. I did try aptupgrade but was told this had already been done.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Self-made problem... I lost Synaptic!
« Reply #5 on: September 20, 2011, 06:01:17 AM »
This is on a 2010 version updated regularly so it should be the same as 2011. I did try aptupgrade but was told this had already been done.

I see. Then open a terminal (konsole), enter
Code: [Select]
su give root password when prompted then enter
Code: [Select]
leafpad /etc/apt/sources.list if you are not using LXDE, substitute the text editor for the DE you are using - kwrite, gedit, geany - or whatever editor you prefer. On the line of your selected repo, add 'unstable' at the end -
..... main updates nonfree kde4 games unstable
Save the change. Then in a terminal, as root (su)
Code: [Select]
apt-get update && apt-get install synaptic Important: Do not run apt-get dist-upgrade!

After installing synaptic, edit your sources list to remove unstable. This is very important. If you fail to do this, you will end with a borked system.     

Offline bidder

  • Full Member
  • ***
  • Posts: 87
Re: Self-made problem... I lost Synaptic!
« Reply #6 on: September 20, 2011, 06:55:21 PM »
This did it! Thanks Neal!


This is on a 2010 version updated regularly so it should be the same as 2011. I did try aptupgrade but was told this had already been done.

I see. Then open a terminal (konsole), enter
Code: [Select]
su give root password when prompted then enter
Code: [Select]
leafpad /etc/apt/sources.list if you are not using LXDE, substitute the text editor for the DE you are using - kwrite, gedit, geany - or whatever editor you prefer. On the line of your selected repo, add 'unstable' at the end -
..... main updates nonfree kde4 games unstable
Save the change. Then in a terminal, as root (su)
Code: [Select]
apt-get update && apt-get install synaptic Important: Do not run apt-get dist-upgrade!

After installing synaptic, edit your sources list to remove unstable. This is very important. If you fail to do this, you will end with a borked system.     

Offline brucejg10

  • New Friend
  • *
  • Posts: 5
Re: [SOLVED] Self-made problem... I lost Synaptic!
« Reply #7 on: September 21, 2011, 03:25:06 AM »
Thanks Neal! that worked for me too.