Cannot install packages with Synaptic Package manager
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.
Cannot install packages with Synaptic Package manager
Hi,
I am using Debian 8.10.
I can install packages with usual apt-get install package_name. But I've tried to use synaptic package manager and every time I try I get the following error.
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
I already checked root's PATH and it contains the aforementioned paths.
Moreover I am only not able to install packages just from Synaptic Package Manager while using su or sudo everything works smoothly.
Any suggestion about that? Is there any setting of Synaptic Package Manger that I should set?
"Moreover I am only not able to install packages just from Synaptic Package Manager while using su or sudo everything works smoothly."
is that a mixed up thought? because it makes no sense to me.
you need root privs to install packages, you might want to check your sudoers file
Code:
## Uncomment to use a hard-coded PATH instead of the user's to find commands
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
I can install packages with usual apt-get install package_name. But I've tried to use synaptic package manager and every time I try I get the following error.
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
please show us exactly what worked, and what didn't.
full output from installing the same package on command line, then purge it, then with synaptics.
i cannot understand how you wouldn't get the same error on the command line.
Here the output installing for instance (with su privileges) the package 'glade' (but the outcome is the same for every package)
Code:
apt-get install glade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gstreamer1.0-plugins-base:i386 i965-va-driver:i386 libasound2:i386 libasound2-plugins:i386 libasyncns0:i386 libaudio2:i386
libavcodec56:i386 libavresample2:i386 libavutil54:i386 libbsd0:i386 libcap2:i386 libcdparanoia0:i386 libdrm-intel1:i386
libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libflac8:i386 libgconf2-4 libgcrypt20:i386
libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libglapi-mesa:i386 libglu1-mesa:i386 libgpg-error0:i386 libgsm1:i386
libgstreamer-plugins-base1.0-0:i386 libgstreamer1.0-0:i386 libice6:i386 libid3-3.8.3c2a libjack-jackd2-0:i386 libjson-c2:i386
liblcms2-2:i386 libllvm3.5:i386 libmng1:i386 libmp3lame0:i386 libogg0:i386 libopenjpeg5:i386 libopus0:i386 liborc-0.4-0:i386
libpciaccess0:i386 libpulse0:i386 libqt4-dbus:i386 libqt4-gui libqt4-network:i386 libqt4-opengl:i386 libqt4-xml:i386
libqt4-xmlpatterns:i386 libqtcore4:i386 libqtdbus4:i386 libqtgui4:i386 libqtwebkit4:i386 libsamplerate0:i386 libschroedinger-1.0-0:i386
libsm6:i386 libsndfile1:i386 libspeex1:i386 libspeexdsp1:i386 libsqlite3-0:i386 libssl1.0.0:i386 libsystemd0:i386 libtheora0:i386
libtxc-dxtn-s2tc0:i386 libudev1:i386 libva1:i386 libvdpau1:i386 libvisual-0.4-0:i386 libvisual-0.4-plugins:i386 libvorbis0a:i386
libvorbisenc2:i386 libvpx1:i386 libwrap0:i386 libx11-xcb1:i386 libx264-142:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386
libxcb-present0:i386 libxcb-sync1:i386 libxshmfence1:i386 libxss1:i386 libxt6:i386 libxtst6:i386 libxv1:i386 libxvidcore4:i386
libxxf86vm1:i386 va-driver-all:i386 vdpau-va-driver:i386
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
glade
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/1,433 kB of archives.
After this operation, 3,228 kB of additional disk space will be used.
Selecting previously unselected package glade.
(Reading database ... 223033 files and directories currently installed.)
Preparing to unpack .../glade_3.18.3-1_amd64.deb ...
Unpacking glade (3.18.3-1) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up glade (3.18.3-1) ...
And in attachment you'll see screenshot of what I get from synaptic Package Manager (that I simply open clicking on the icon in the list of available programs and then inserting my su-sudo password, required before opening).
Thanks but as said that is not related to 'glade' as a specific package (see for instance the attached image which are screenshots I took in trying to install VLC).
Since the error message is always the same I thought it was related to the fact that package 'glade' was missing and that is why I tried to install it. Now I have installed it via su-sudo but still the error is the same....
I gave the command you wrote and rebooted the system but it keeps on not not working :/
your sources mix 'stable' with 'jessie' (which is now oldstable).
there also seems to be way too many for debian.
without having a deeper look, i'd say you're system is already a frankendebian.
i also always advise against adding sources from sources that don't give a tinker's cuss for how debian works (skype, google).
you should not dismiss what i wrote in my last post.
your system appears to be in serious trouble; it's probably only a question of time until more things start breaking.
you MUST fix your sources now, and hope it isn't too late yet:
Quote:
Originally Posted by ondoho
your sources mix 'stable' with 'jessie' (which is now oldstable).
without having a deeper look, i'd say you're system is already a frankendebian.
Is there an easy (i.e. user friendly and safe) way to deal with these? Even if this issue with synaptic is the only problem I've been having in months. All the rest has been working rather properly and neat.
Moreover I need Google and Skype therefore if having them as sources is a risk...well...I will accept to run this risk.
All the rest has been working rather properly and neat.
famous last words.
Quote:
Moreover I need Google and Skype therefore if having them as sources is a risk...well...I will accept to run this risk.
i understand.
i quoted only the most relevant bit in my last post - the mixing of releases is a definite no-no.
what i said about google and skype repos, take it as mere opinion if you want.
you can fix your sources and still continue using these softwares.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.