Author Topic: [ SOLVED ] how to reinstall synaptic ? please  (Read 2446 times)

Offline noewalt

  • Jr. Member
  • **
  • Posts: 42
[ SOLVED ] how to reinstall synaptic ? please
« on: July 25, 2011, 06:41:57 AM »
Hi everybody

got synaptic involuntarily erased after last update and can no longer access repositories. Also apt-get command in a terminal (see below) would not solve the problem.
Where am I wrong?
Can somebody help?

Thank you for some feedback




[hal@localhost ~]$ su
Password:
[root@localhost hal]# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.
[root@localhost hal]# apt-get install synaptic
Reading Package Lists... Done
Building Dependency Tree... Done
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
E: Package synaptic has no installation candidate
[root@localhost hal]#
« Last Edit: July 25, 2011, 04:00:53 PM by noewalt »

Offline OMSkates

  • Hero Member
  • *****
  • Posts: 2388
Re: how to reinstall synaptic ? please
« Reply #1 on: July 25, 2011, 07:01:22 AM »
What happens when you try to start synaptic from your root prompt? Type
Code: [Select]
synaptic

Offline noewalt

  • Jr. Member
  • **
  • Posts: 42
Re: how to reinstall synaptic ? please
« Reply #2 on: July 25, 2011, 07:27:17 AM »
hal@localhost ~]$ synaptic
bash: synaptic: command not found
[hal@localhost ~]$
[hal@localhost ~]$ su
Password:
[root@localhost hal]# synaptic
bash: synaptic: command not found
[root@localhost hal]#


Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 832
Re: how to reinstall synaptic ? please
« Reply #3 on: July 25, 2011, 08:12:41 AM »
Use apt to get aptupgrade and immediately run it. Reboot, and you should have new apt, rpm and synaptic. This was all over the forum a few weeks ago, but if you don't pay attention here you will run into problems.
Using Linux for over 18 years and still counting.

Offline bicol_willem

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2378
Re: how to reinstall synaptic ? please
« Reply #4 on: July 25, 2011, 08:36:23 AM »
[hal@localhost ~]$ su
Password:
[root@localhost hal]# apt-get upgrade

apt-get upgrade should be apt-get update ..... (really)

Offline ElCuervo

  • Hero Member
  • *****
  • Posts: 4148
  • I'm walking on sunshine!
Re: how to reinstall synaptic ? please
« Reply #5 on: July 25, 2011, 08:41:20 AM »
[hal@localhost ~]$ su
Password:
[root@localhost hal]# apt-get upgrade

apt-get upgrade should be apt-get update ..... (really)
And after that, apt-get dist-upgrade (really ;)).

Furthermore, if you can't get Synaptic to load, you may want to try apt-get install synaptic
"If there were no change, there would be no butterflies" - Walt Disney

http://linuxcounter.net/cert/433721.png

Offline OMSkates

  • Hero Member
  • *****
  • Posts: 2388
Re: how to reinstall synaptic ? please
« Reply #6 on: July 25, 2011, 08:49:57 AM »
[hal@localhost ~]$ su
Password:
[root@localhost hal]# apt-get upgrade

apt-get upgrade should be apt-get update ..... (really)
And after that, apt-get dist-upgrade (really ;)).

Furthermore, if you can't get Synaptic to load, you may want to try apt-get install synaptic
He had tried "apt-get install synaptic" and got
Code: [Select]
Package synaptic has no available version, but exists in the database.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: how to reinstall synaptic ? please
« Reply #7 on: July 25, 2011, 08:59:53 AM »

got synaptic involuntarily erased after last update and can no longer access repositories.


Involuntarily? I'm curious. How exactly did that happen?
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Sproggy

  • Hero Member
  • *****
  • Posts: 1484
Re: how to reinstall synaptic ? please
« Reply #8 on: July 25, 2011, 09:06:26 AM »

got synaptic involuntarily erased after last update and can no longer access repositories.


Involuntarily? I'm curious. How exactly did that happen?


im on the same page here ... nothing is ever involuntary lol

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: how to reinstall synaptic ? please
« Reply #9 on: July 25, 2011, 09:10:27 AM »
To launch Synaptic --
su
/usr/sbin/synaptic

If that doesn't start it, use --
su
apt-get clean &&  apt-get autoclean
apt-get update && apt-get dist-upgrade

Now try
apt-get install synaptic

and try to launch it.

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: how to reinstall synaptic ? please
« Reply #10 on: July 25, 2011, 09:49:54 AM »
O-P, are you wearing a bear suit? ;D

Seriously, I'm camping with Neal on this one.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11541
  • ----IOFLU----
Re: how to reinstall synaptic ? please
« Reply #11 on: July 25, 2011, 11:37:48 AM »
To launch Synaptic --
su
/usr/sbin/synaptic

If that doesn't start it, use --
su
apt-get clean &&  apt-get autoclean
apt-get update && apt-get dist-upgrade

Now try
apt-get install synaptic

and try to launch it.


OMG! All those people were wrong... the color does rub off... it's all over you, man!  ;D ;D

Seriously, having not gotten the apt-get update command done properly, the package lists were never updated. The rpm database would still show Synaptic as installed and the old package list would show no newer version to install as an upgrade, while the repo would no longer have the old version physically available, hence the error message, "Package synaptic has no available version, but exists in the database."

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: how to reinstall synaptic ? please
« Reply #12 on: July 25, 2011, 11:47:36 AM »
 ;D ;D ;D The color was an afterthought. ;) ;)

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11541
  • ----IOFLU----
Re: how to reinstall synaptic ? please
« Reply #13 on: July 25, 2011, 11:57:46 AM »
;D ;D ;D The color was an afterthought. ;) ;)

And opened the door to having community members painting all administrators with the same brush;D ;D ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: how to reinstall synaptic ? please
« Reply #14 on: July 25, 2011, 12:08:03 PM »
;D ;D ;D The color was an afterthought. ;) ;)

And opened the door to having community members painting all administrators with the same brush;D ;D ;D

It won't stick. ;D ;D ;D