PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 04:00:58 PM


Login with username, password and session length


Pages: [1] 2 3   Go Down
  Print  
Author Topic: [ SOLVED ] how to reinstall synaptic ? please  (Read 1531 times)
noewalt
Jr. Member
**
Offline Offline

Posts: 42


« on: July 25, 2011, 07: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]#
Logged
OMSkates
Hero Member
*****
Offline Offline

Posts: 2265



« Reply #1 on: July 25, 2011, 08:01:22 AM »

What happens when you try to start synaptic from your root prompt? Type
Code:
synaptic
Logged
noewalt
Jr. Member
**
Offline Offline

Posts: 42


« Reply #2 on: July 25, 2011, 08: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]#

Logged
cyrwyn
Hero Member
*****
Offline Offline

Posts: 775


« Reply #3 on: July 25, 2011, 09: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.
Logged

Using Linux for over 18 years and still counting.
bicol_willem
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 1765


« Reply #4 on: July 25, 2011, 09:36:23 AM »

[hal@localhost ~]$ su
Password:
[root@localhost hal]# apt-get upgrade

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

ElCuervo
Hero Member
*****
Offline Offline

Posts: 4087


I'm walking on sunshine!


« Reply #5 on: July 25, 2011, 09: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 Wink).

Furthermore, if you can't get Synaptic to load, you may want to try apt-get install synaptic
Logged

"If there were no change, there would be no butterflies" - Walt Disney

http://linuxcounter.net/cert/433721.png
OMSkates
Hero Member
*****
Offline Offline

Posts: 2265



« Reply #6 on: July 25, 2011, 09: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 Wink).

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:
Package synaptic has no available version, but exists in the database.
Logged
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #7 on: July 25, 2011, 09: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?
Logged

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
Sproggy
Hero Member
*****
Offline Offline

Posts: 1491


« Reply #8 on: July 25, 2011, 10: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
Logged
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #9 on: July 25, 2011, 10: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.
Logged

Archie
Global Moderator
Hero Member
*****
Offline Offline

Posts: 6885


I will never forget you, uhhh...


« Reply #10 on: July 25, 2011, 10:49:54 AM »

O-P, are you wearing a bear suit? Grin

Seriously, I'm camping with Neal on this one.
Logged

Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #11 on: July 25, 2011, 12:37:48 PM »

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!  Grin Grin

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."

Logged

Old-Polack

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



Lest we forget...
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #12 on: July 25, 2011, 12:47:36 PM »

 Grin Grin Grin The color was an afterthought. Wink Wink
Logged

Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #13 on: July 25, 2011, 12:57:46 PM »

Grin Grin Grin The color was an afterthought. Wink Wink

And opened the door to having community members painting all administrators with the same brushGrin Grin Grin
Logged

Old-Polack

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



Lest we forget...
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #14 on: July 25, 2011, 01:08:03 PM »

Grin Grin Grin The color was an afterthought. Wink Wink

And opened the door to having community members painting all administrators with the same brushGrin Grin Grin

It won't stick. Grin Grin Grin
Logged

Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM