LinuxQuestions.org
Review your favorite Linux distribution.
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 05-07-2016, 07:45 PM   #16
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled

This is not good, do
Code:
ls -l /usr/bin/dpkg
is it there?
 
Old 05-07-2016, 07:53 PM   #17
sdenethor
LQ Newbie
 
Registered: May 2016
Location: Ohio
Distribution: pclinuxos
Posts: 13

Original Poster
Rep: Reputation: Disabled
Doesn't look like it. Thanks for your patience!

Code:
[root@localhost person]# ls -l /usr/bin/dpkg
ls: cannot access /usr/bin/dpkg: No such file or directory
 
Old 05-07-2016, 08:08 PM   #18
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by Emerson View Post
It probably needs to be run by root, if I remember correctly from my Debian days dpkg is the tool apt-get is using. As long as dpkg works you can fix your Linux.
But it's PCLinuxOS, which is an rpm distro based on (I think) Mandriva rather than on Debian. It's styled in the same way as Debian in that it has a mock Synaptic program, but it's not Debian based. So I suspect there is no "dpkg" program.
 
Old 05-07-2016, 08:12 PM   #19
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 209Reputation: 209Reputation: 209
I'm just gonna take a few shots in the dark. First, try running synaptic (as root) by entering the following command in your terminal:

Code:
/usr/sbin/synaptic
 
Old 05-07-2016, 08:22 PM   #20
sdenethor
LQ Newbie
 
Registered: May 2016
Location: Ohio
Distribution: pclinuxos
Posts: 13

Original Poster
Rep: Reputation: Disabled
Does not recognize that command. Has Synaptic disappeared?

Code:
[root@localhost person]# /usr/sbin/synaptic
/usr/libexec/synaptic: symbol lookup error: /lib64/libnssutil3.so: undefined symbol: PR_GetEnvSecure
 
Old 05-07-2016, 08:37 PM   #21
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 209Reputation: 209Reputation: 209
ETA: Just noticed in post #9 that apt isn't working for you. So ignore the suggestion below.

I'm sure it's still there. I'm more familiar with Debian, so I'm gonna hope that PCLinuxOS has incorporated some of the following commands I'm gonna suggest. I feel that running another upgrade may do the trick. So run the following as root:

Code:
apt-get update && apt-get dist-upgrade
Then, if that works out, try opening synaptic again. If it doesn't open after the upgrade commands are run, try reinstalling it:

Code:
apt-get install --reinstall synaptic

Last edited by mark_alfred; 05-07-2016 at 09:18 PM.
 
Old 05-07-2016, 08:39 PM   #22
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Whoops, my bad. I didn't know apt-get is used with RPM distros! Anyhow, there seems to be a partial/broken upgrade. Can rpm tool be used as dpkg in DEB distros to fix it?
 
Old 05-07-2016, 08:51 PM   #23
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 209Reputation: 209Reputation: 209
I'm not sure. I used PCLinuxOS a long time ago, but I'm not that familiar with it. I agree with you that that it seems to be an issue with a faulty upgrade.
 
Old 05-07-2016, 08:54 PM   #24
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 209Reputation: 209Reputation: 209
Oh, just noticed in post #9 that "apt-get update" command isn't working either. Hmm.
 
Old 05-07-2016, 08:56 PM   #25
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 7,231

Rep: Reputation: Disabled
Yup, that's why I recommended using lower level tool to fix it, but I went wrong with dpkg ... what is the underlying tool for RPM distros, rpm?
 
Old 05-07-2016, 09:10 PM   #26
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 209Reputation: 209Reputation: 209
Perhaps. Maybe the following would do something:

Code:
rpm -U apt
I just took that from the rpm manpage I found: http://www.rpm.org/max-rpm/rpm.8.html

I figure this would upgrade the program 'apt'. Or perhaps,

Code:
rpm -U synaptic
Or "rpm -i synaptic".
 
Old 05-09-2016, 07:07 AM   #27
sdenethor
LQ Newbie
 
Registered: May 2016
Location: Ohio
Distribution: pclinuxos
Posts: 13

Original Poster
Rep: Reputation: Disabled
I appreciate everyone's input! Here are the code results for the rpm commands.

Code:
[root@localhost person]# rpm -U apt
rpm: symbol lookup error: /lib64/libnssutil3.so: undefined symbol: PR_GetEnvSecure
[root@localhost person]# rpm -U synaptic
rpm: symbol lookup error: /lib64/libnssutil3.so: undefined symbol: PR_GetEnvSecure
[root@localhost person]# rpm -i synaptic
rpm: symbol lookup error: /lib64/libnssutil3.so: undefined symbol: PR_GetEnvSecure
I believe you are correct that there is a faulty upgrade issue. The Qt-update-notifier widget checks for updates, and returns a "repository is in an unknown state" message.
 
Old 05-09-2016, 10:51 AM   #28
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 209Reputation: 209Reputation: 209
It's the same error every time, I notice. So, I think it seems to be some deeper problem with the libraries and/or the links to the libraries, specifically with libnssutil3.so. Here is the rpm with that file:

http://ftp.nluug.nl/pub/os/Linux/dis...016.x86_64.rpm

I am assuming you use 64bit Linux (IE, for laptops). If you're using 32bit for older desktops, then it would be here.

From here (installing Software without Synaptic), I found the following:

Quote:
To install an rpm, open a terminal, su to root, and [..] use the command

Code:
rpm -Uvh /path/to/the/package/you/want/to/install.rpm
So, maybe try to download the lib64nss3 rpm file (or the libnss3 file if you're using a 32bit system), and then install it with the rpm command given above. Hopefully this would fix the links and allow you to resume using Synaptic again.

The exact command, run in the same directory in which you downloaded the rpm file (assuming you're using the 64bit version) would be:

Code:
rpm -Uvh lib64nss3-3.23.0-1pclos2016.x86_64.rpm
Now, the disclaimer: I'm not an expert, so back up your system (or at least save files that are most important to you) first before trying any suggestion (by me, or by anyone, for that matter).

I did a search and found a similar issue here, which inspired me to look at the nss stuff: https://bugs.gentoo.org/show_bug.cgi?id=579486

Note: when running the rpm command above, it may give you dependencies that will first have to be satisfied. If so, you would also have to download those and install them. I assume the main repository for 64bit PCLinuxOS is here.

Last edited by mark_alfred; 05-09-2016 at 10:59 AM.
 
Old 05-10-2016, 07:37 AM   #29
sdenethor
LQ Newbie
 
Registered: May 2016
Location: Ohio
Distribution: pclinuxos
Posts: 13

Original Poster
Rep: Reputation: Disabled
Yes, I am running the 64-bit version (on a USB drive, if that matters). I have attempted to follow your instructions exactly, and keep getting the same error message. Although I'm sure from what you have said, and other documentation I have read, that some dependencies may be the issue, I'm not sure how to identify the culprits.

Code:
[root@localhost person]# cd /home/person/Misc/lib64
[root@localhost lib64]# rpm -Uvh lib64nss3-3.23.0-1pclos2016.x86_64.rpm
rpm: symbol lookup error: /lib64/libnssutil3.so: undefined symbol: PR_GetEnvSecure
Seems that "lib64nss3-3.23.0-1pclos2016.x86_64.rpm" is not locating "libnssutil3.so" even though I can see it in the same directory.
 
Old 05-10-2016, 09:13 AM   #30
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 209Reputation: 209Reputation: 209
I guess the program 'rpm' is also broken. Well, I'm stumped. Not sure how you can fix synaptic. Maybe running ldd (regular user okay) would give a clue as to the shared libraries required (and as to which requirements aren't being fulfilled):

Code:
ldd /usr/sbin/synaptic
Could also run it on apt or rpm:

Code:
ldd /usr/bin/apt
Code:
ldd /usr/bin/rpm
I think apt and rpm are located in '/usr/bin' as opposed to '/usr/sbin'.

Anyway, I'm not sure how to fix the issue you're having with Synaptic (or apt or rpm). Perhaps the pclinuxos forum would have people who would know.
 
  


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
[SOLVED] Synaptic package manager won't open due to faulty package nine9nine Linux - Software 7 09-15-2011 08:30 PM
synaptic won't complete unistall of package rbees Debian 5 04-04-2007 05:17 PM
X Won't Start, After Synaptic Upgrade Red Knuckles SUSE / openSUSE 4 03-16-2006 11:53 AM
synaptic won't work bobterri Linux - Software 2 05-16-2005 10:23 PM
what does it mean when synaptic won't install bosewicht Linux - Newbie 3 12-26-2003 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:29 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
Open Source Consulting | Domain Registration