Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Quote:
Originally Posted by Emerson
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.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
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 08:18 PM.
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?
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
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.
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.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
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:
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).
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 09:59 AM.
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.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.