Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

4 votes
2 answers
1913 views
"not a valid package archive" when trying to install PHP extension?
I'm running CENTOS 6.6 on a VPS and am trying to install [the ZMQ PHP extension][1] and tried installing using the command shown in the instructions: sudo pecl install zmq-beta However, it fails, showing this as the output: root@host [/zmq]# sudo pecl install zmq-beta downloading zmq-1.1.2.tgz ... S...
I'm running CENTOS 6.6 on a VPS and am trying to install the ZMQ PHP extension and tried installing using the command shown in the instructions: sudo pecl install zmq-beta However, it fails, showing this as the output: root@host [/zmq]# sudo pecl install zmq-beta downloading zmq-1.1.2.tgz ... Starting to download zmq-1.1.2.tgz (39,573 bytes) ..........done: 39,573 bytes could not extract the package.xml file from "/root/tmp/pear/cache/zmq-1.1.2.tgz" Download of "pecl/zmq" succeeded, but it is not a valid package archive Error: cannot download "pecl/zmq" Download failed install failed I also tried: sudo pecl install -Z zmq-beta And: sudo pecl install --nocompress zmq-beta But I get the same error. Why is this error occuring?
Nate (241 rep)
Jan 31, 2015, 09:45 PM • Last activity: Aug 4, 2025, 10:01 AM
1 votes
1 answers
1881 views
Downgrade Perl Version 5.16.3 on RedHat 7 to 5.10.1
I'm making a migration of my monitoring application from a redhat 6 server to a redhat 7 server. There are perl plugins I have on the redhat 6 server that work. But when migrated to redhat 7, they dont. The package in question here is **perl-DBD-Sybase.x86_64 1.10-1.el6.rf** Im able to install this...
I'm making a migration of my monitoring application from a redhat 6 server to a redhat 7 server. There are perl plugins I have on the redhat 6 server that work. But when migrated to redhat 7, they dont. The package in question here is **perl-DBD-Sybase.x86_64 1.10-1.el6.rf** Im able to install this package on redhat 7 (there doesnt appear to be a redhat 7 version of it - at least, i havent found one). And when I install the package and try to use the plugin that uses the package, I get the following error: [/usr/bin/perl: symbol lookup error: /usr/lib64/perl5/vendor_perl/auto/DBD/Sybase/Sybase.so: undefined symbol: Perl_Istack_sp_ptr] Do i have any other alternative to dealing with this? how can i resolve this so it works on redhat 7?
swenson (11 rep)
Aug 21, 2017, 03:53 PM • Last activity: Aug 1, 2025, 10:08 PM
2 votes
1 answers
806 views
Does dnf5 support parallel metadata downloads? How do I make it?
I'm pretty happily using `dnf5` on my fedora 38. It's both a new library for dependency resolution and a new frontend, replacing `dnf`/`libdnf` (though nearly completely drop-in compatible with the CLI of `dnf`). It's much faster at doing things like searching the package database for words, so that...
I'm pretty happily using dnf5 on my fedora 38. It's both a new library for dependency resolution and a new frontend, replacing dnf/libdnf (though nearly completely drop-in compatible with the CLI of dnf). It's much faster at doing things like searching the package database for words, so that's refreshing. Speaking of refreshing: Can I configure dnf5 to download metadata from different remote repositories (Fedora 38, Fedora 38, updates, Fedora 38 openh264, Fedora 38 nonfree updates, rpm fusion updates, rpm fusion non-free updates …) in parallel?
Marcus Müller (47087 rep)
Nov 2, 2023, 10:40 PM • Last activity: Aug 1, 2025, 05:17 PM
1 votes
2 answers
3040 views
How to clean up a Linux installation?
I've been using Linux (mainly Ubuntu) for about two years now. I've had several installations on several machines. Something that inevitably happens on any OS installation is that I install something I need that day, maybe a library or CLI utility, use it for a week, and then forget about it. I'm su...
I've been using Linux (mainly Ubuntu) for about two years now. I've had several installations on several machines. Something that inevitably happens on any OS installation is that I install something I need that day, maybe a library or CLI utility, use it for a week, and then forget about it. I'm sure I've got several GB of unused packages taking up space on my installations. How can I clean up my installation to make sure that I only have things that I want? I'm aware of apt-get autoremove to remove unused dependencies. I'm aware of apt list --installed to view all packages installed through apt. I'm aware of dpkg -L to view all files installed from a package. Suppose I were to look though the output of apt list --installed and remove things I don't want by either apt-get purge or deleting every file from dpkg -L . Eventually, I would have cleaned up everything installed through my package manager, right? Where else should I look? Not everything on my computer was installed through apt. For example, .deb packages like google-chrome and things installed via scripts. Where would these things live? And what's the best way to find them? My goal is to shrink my installation down to basically a fresh install plus the things I use all the time. Thanks, all!
Metammetta (11 rep)
Aug 8, 2020, 01:29 AM • Last activity: Jul 31, 2025, 02:02 AM
2 votes
3 answers
5758 views
Install Zoom: cannot find package libxcb-xtest0
My OS Linux Mint 18.3, xfce, 64 bit. Have tried e.g. this: [![enter image description here][1]][1] [1]: https://i.sstatic.net/bqQcp.png Have also tried to install Zoom from application center and also from zoom website. I have also tried the suggested solutions here. Can anybody give me an idea how...
My OS Linux Mint 18.3, xfce, 64 bit. Have tried e.g. this: enter image description here Have also tried to install Zoom from application center and also from zoom website. I have also tried the suggested solutions here. Can anybody give me an idea how to solve the problem? And: I am not a professional linux user, almost a newby... Thanks a lot!
Tamy (31 rep)
Apr 4, 2020, 07:29 PM • Last activity: Jul 29, 2025, 02:32 PM
1 votes
2 answers
3342 views
silent and non-interactive installation of a package in Solaris using pkgadd and admin file
The command am giving is: pkgadd -a admin file -d absolutepathofpackage Then, its showing the below error > The following packages are available: > 1 Packagename BigFix Agent > (sparc) 9.2.8.74 > > Select package(s) you wish to process (or 'all' to process > all packages). (default: all) [?,??,q]: a...
The command am giving is: pkgadd -a admin file -d absolutepathofpackage Then, its showing the below error > The following packages are available: > 1 Packagename BigFix Agent > (sparc) 9.2.8.74 > > Select package(s) you wish to process (or 'all' to process > all packages). (default: all) [?,??,q]: all How to get this step included during silent installation?
Su_scriptingbee (319 rep)
Oct 7, 2016, 12:15 PM • Last activity: Jul 29, 2025, 09:05 AM
1 votes
1 answers
2434 views
yum confusion about package-cleanup --orphans and --leaves
While following https://access.redhat.com/solutions/64069 [General documentation of the system state both prior to and after patching is always good practice. This should include running package-cleanup with following flags, --orphans, --problems, --dupes, --leaves.][1] Looking for orphans (packages...
While following https://access.redhat.com/solutions/64069 General documentation of the system state both prior to and after patching is always good practice. This should include running package-cleanup with following flags, --orphans, --problems, --dupes, --leaves. Looking for orphans (packages which are not available from currently configured repositories) I did get kernel-3.10.0-1127.el7.x86_64 and it would be true, because I've installed CentOS 7.8 and upgraded to 7.9 and the kernel package is in the https://vault.centos.org/7.8.2003/os/Source/SPackages/ repo not the 7.9. [root@localhost boot]# package-cleanup --orphans Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.wielun.net * extras: centos.wielun.net * updates: centos.wielun.net kernel-3.10.0-1127.el7.x86_64 [root@localhost boot]# rpm -qa kernel kernel-3.10.0-1160.6.1.el7.x86_64 kernel-3.10.0-1127.el7.x86_64 I can imagine that it would be advisable to run the above command in case I would like to use yum history undo to revert last made changes, and that a given rpm package would have to be available on the system, but if it was not removed during yum update then do I need really to care if the package is marked as orphaned ? Next, I executed the following command, to get a list of leaves ( Leaf nodes are RPMs that are not relied upon by any other RPM): [root@localhost boot]# package-cleanup --leaves Loaded plugins: fastestmirror libsysfs-2.1.0-16.el7.x86_64 [root@localhost boot]# rpm -q --requires libsysfs-2.1.0-16.el7.x86_64 /sbin/ldconfig /sbin/ldconfig libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rpmlib(CompressedFileNames) Running transaction check ---> Package libsysfs.x86_64 0:2.1.0-16.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================= Removing: libsysfs x86_64 2.1.0-16.el7 @anaconda 146 k Transaction Summary ============================================================================================================================================================================================= Remove 1 Package Per my understanding yum resolved all the dependencies and it looks like I'm free to remove the pacakage, but I'm wondering about the output of the rpm -q --provides command. Is it correct to say that the 3 items listed is stuff that got installed together with the libsysfs.x86_64 0:2.1.0-16.el7 package AND since yum resolved all dependencies and no other stuff on the system requires this package + the packages/shared libraries it provides it can be removed without any issues ? If that is true, why I'm not able to list the files installed as part of that rpm ? [root@localhost boot]# rpm -qa libsysfs libsysfs-2.1.0-16.el7.x86_64 [root@localhost boot]# [root@localhost boot]# [root@localhost boot]# rpm -qlp libsysfs-2.1.0-16.el7.x86_64 error: open of libsysfs-2.1.0-16.el7.x86_64 failed: No such file or directory Thank you for any clarification is possible !
cyzczy (396 rep)
Jan 11, 2021, 01:08 PM • Last activity: Jul 28, 2025, 02:09 AM
0 votes
1 answers
3148 views
Errors using pacstrap on install
I’m installing Arch Linux for the first time. I didn’t encounter any problems during setup until I had to perform the actual installation with `pacstrap`. Here’s my input. ``` pacstrap /mnt base base-devel linux linux-firmware vim ``` What I get in return. ``` :: Synchronizing package databases... c...
I’m installing Arch Linux for the first time. I didn’t encounter any problems during setup until I had to perform the actual installation with pacstrap. Here’s my input.
pacstrap /mnt base base-devel linux linux-firmware vim
What I get in return.
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
error: failed retrieving file ‘online-repo.db’ from 192.168.1.156:8000 : Connection timed out after 10000 milliseconds.
error: failed to update online-repo. (download library error)
error: failed to synchronize all databases
==>ERROR: Failed to install packages to new root
I am able to ping archlinux.org and google.com without any issue, but not the ip mentioned in the error. I have heard that having timedate-ctl setup incorrectly can mess up sync, so I changed it to the correct time and timezone manually. I tried using reflector several times with different protocols and locations but I still get the same errors. I’m not sure what I’m doing wrong.
GlitchyGoats (1 rep)
Jan 21, 2021, 09:57 PM • Last activity: Jul 26, 2025, 07:02 PM
0 votes
1 answers
2138 views
dpkg: error processing package wingide5 (--install):
I have been trying to download WingIDE5 onto my kali_linux VM but every time I use the code dpkg -I ~/Downloads/wingide5_5.1.9-1_amd64.deb it just says this Selecting previously unselected package wingide5. (Reading database ... 323261 files and directories currently installed.) Preparing to unpack...
I have been trying to download WingIDE5 onto my kali_linux VM but every time I use the code dpkg -I ~/Downloads/wingide5_5.1.9-1_amd64.deb it just says this Selecting previously unselected package wingide5. (Reading database ... 323261 files and directories currently installed.) Preparing to unpack .../wingide5_5.1.9-1_amd64.deb ... Unpacking wingide5 (5.1.9-1) ... dpkg: dependency problems prevent configuration of wingide5: wingide5 depends on libqt4-webkit (>= 4.6.2): however: Package libqt4-webkit is not Installed. dpkg: error processing package wingide5 (--install): dependency problems - leaving unconfigured Processing triggers for menu (2.1.47) ... Errors were encountered while processing: wingide5 So does that mean I just have to download libqt4-webkit, and if so how do I download that? Any help is appreciated, Thanks.
user519178 (1 rep)
Feb 14, 2016, 09:33 PM • Last activity: Jul 24, 2025, 08:06 PM
4 votes
1 answers
9505 views
Installing GCC on SLES 12
I'm having trouble installing `gcc` on a new SLES 12 box. The goal here is actually to get R Shiny running, but when I try to install any packages I get the below error: sudo su - -c "R -e \"install.packages('Rcpp',repos='https://cran.rstudio.com/')\"" make: g++: Command not found This leads me to b...
I'm having trouble installing gcc on a new SLES 12 box. The goal here is actually to get R Shiny running, but when I try to install any packages I get the below error: sudo su - -c "R -e \"install.packages('Rcpp',repos='https://cran.rstudio.com/ ')\"" make: g++: Command not found This leads me to believe I need to install gcc. which gcc: which: no gcc in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/games) gcc -version: `If 'gcc' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf gcc` This is where the trouble begins. When I zypper in gcc: `Problem: gcc-4.7-7.1.1.x86_64 requires gcc47, but this requirement cannot be provided uninstallable providers: gcc47-4.7.2_20130108-2.1.6.i586[oss] gcc47-4.7.2_20130108-2.1.6.x86_64[oss]` Ok.. zypper in gcc47-4.7.2_20130108-2.1.6.x86_64 Results: `Problem: gcc47-4.7.2_20130108-2.1.6.x86_64 requires glibc-devel, but this requirement cannot be provided uninstallable providers: glibc-devel-2.17-4.4.1.i586[oss] glibc-devel-2.17-4.4.1.x86_64[oss]` Right then... zypper in glibc-devel Results: `Problem: glibc-devel-2.17-4.4.1.x86_64 requires glibc = 2.17, but this requirement cannot be provided uninstallable providers: glibc-2.17-4.4.1.i586[oss] glibc-2.17-4.4.1.x86_64[oss]` zypper in glibc Results: `'glibc' is already installed. No update candidate for 'glibc-2.19-17.72.x86_64'. The highest available version is already installed. So somewhere in this chain of dependencies an RPM needs a lower version of something I already have. I don't want to downgrade the system. Is there some way to get the most up to date GCC that will work with glibc-2.19? Am I doing something wrong here? Am I missing a repo? SLSE12:~ # cat /etc/os-release NAME="SLES" VERSION="12" VERSION_ID="12" PRETTY_NAME="SUSE Linux Enterprise Server 12" ID="sles" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:suse:sles:12" # zypper lr -u # | Alias | Name | Enabled | Refresh | URI --+-----------+-----------+---------+---------+------------------------------------------------------------------------------- 1 | gcc | gcc | Yes | No | http://download.opensuse.org/repositories/devel:/gcc/SLE-12/ 2 | oss | oss | Yes | No | http://download.opensuse.org/distribution/12.3/repo/oss/ 3 | r-patched | r-patched | Yes | No | http://download.opensuse.org/repositories/devel:/languages:/R:/patched/SLE_12/
RedRaven (141 rep)
Nov 28, 2015, 03:54 PM • Last activity: Jul 23, 2025, 03:04 PM
26 votes
4 answers
68922 views
Package manager for Busybox
Is there a package manager for busybox devices? After all, Busybox utilities are quite restricted. I suppose one would have to compile it for specific device. Suppose that you have a device running a Linux kernel and using a Busybox binary for all tools and such. Now suppose that you want to install...
Is there a package manager for busybox devices? After all, Busybox utilities are quite restricted. I suppose one would have to compile it for specific device. Suppose that you have a device running a Linux kernel and using a Busybox binary for all tools and such. Now suppose that you want to install some software on the device. Busybox doesn't have a package manager integrated, unless you count rpm as one. So you have to install that first. How would you do it? The OS in question is Linux.
user1561358 (395 rep)
Jan 13, 2018, 12:46 AM • Last activity: Jul 16, 2025, 10:35 PM
1 votes
2 answers
2053 views
Temporary package installation
How can I install some packages temporarily and easily remove them when unwanted several months/years later? The reason for this is that I like to extensively test software before deciding whether to keep it or remove it. For example, I might install graphic design packages with: apt-get install ink...
How can I install some packages temporarily and easily remove them when unwanted several months/years later? The reason for this is that I like to extensively test software before deciding whether to keep it or remove it. For example, I might install graphic design packages with: apt-get install inkscape gimp and mathematics packages with: apt-get install texlive-full gnuplot I could use virtual machines for each set of packages (math or design), but it seems like overkill (I do not needed the added security/computational costs). I could also use apt list --installed and remove the packages I do not need with (for example) apt-get purge texlive-full gnuplot (but this requires me to remember which set of packages I installed - I will always remove the full set at a time and never individual packages in a set).
wjwrpoyob (460 rep)
Aug 14, 2019, 04:27 AM • Last activity: Jul 13, 2025, 01:03 PM
5 votes
3 answers
2017 views
Linux Mint Not Updating
I literally installed it last night. This morning I saw an update icon but when I click Update Manager it says > ERROR###ERROR###ERROR###ERROR###ERROR###ERROR###ERROR E:Encountered a > section with no Package: header, E:Problem with MergeList > /var/lib/apt/lists/packages.linuxmint.com_dists_petra_i...
I literally installed it last night. This morning I saw an update icon but when I click Update Manager it says > ERROR###ERROR###ERROR###ERROR###ERROR###ERROR###ERROR E:Encountered a > section with no Package: header, E:Problem with MergeList > /var/lib/apt/lists/packages.linuxmint.com_dists_petra_import_i18n_Translation-en, > E:The package lists or status file could not be parsed or opened. Does anyone know a fix?
Mike (51 rep)
Feb 7, 2014, 01:03 AM • Last activity: Jul 11, 2025, 03:08 PM
15 votes
9 answers
32426 views
How to find out if a specific package is installed on Debian?
I'm working with a Raspberry Pi B+ and Raspbian 5/5/2015 and some guides that are a few years old. I've got an external NTFS HDD hooked up to the Pi. Due to the articles age(s), common practices have changed, and it turns out that certain packages and features and functions are now built-in and/or a...
I'm working with a Raspberry Pi B+ and Raspbian 5/5/2015 and some guides that are a few years old. I've got an external NTFS HDD hooked up to the Pi. Due to the articles age(s), common practices have changed, and it turns out that certain packages and features and functions are now built-in and/or automatic. For example, I found out that Raspbian will handle the automounting of an NTFS drive/volume if you just install ntfs-3g. All instructions and guidance I could find (IRC, raspberry pi forum, and a Linux dude I know) all went extremely technical doing who-knows-what to my system to try to assist me, when in reality we were all tripping over automatic features that no one knew about or thought to check. I've since installed Raspbian fresh to a new SD card and so far just turned on SSH, updated apt-get, and installed ntfs-3g. This is the article I am using right now: http://www.howtogeek.com/139433/how-to-turn-a-raspberry-pi-into-a-low-power-network-storage-device/?PageSpeed=noscript My next step is to get Samba up and running. Yes, I know Linux people hate Windows, but I'm a Windows guy, so until I can know enough about Linux for a Linux system to be my fallback, Windows machines are my fallbacks. Eventually this Raspberry Pi will get a multi-TB drive, though for right now it's just a few GB; which is why it needs to be NTFS. I would like to check if Samba is installed, since the next step in my instructions tell me how to install and configure it. I've tried a few commands and I'm not sure what to do with the results or how to use them. I searched here and the technical details are above my capabilities and I don't think they address my seemingly simple need to find out if a package is installed or not. I tried: apt-cache dump this gave me way too much data. It scrolled down for a few minutes. I got this from The Raspberry Pi Handbook 3rd Edition (Link - Amazon) I tried apt-cache showpkg samba Package: samba Versions: 2:3.6.6-6+deb7u5 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_ wheezy_main_binary-armhf_Packages) Description Language: File: /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_d ists_wheezy_main_binary-armhf_Packages MD5: 0122ac62ef5f4ae21eb2e195eb45ad1d Reverse Depends: winbind,samba 2.2.3-2 task-file-server,samba swat,samba 2:3.6.6-6+deb7u5 smbclient,samba 2.999+3.0.alpha21-4 samba4-common-bin,samba 2:3.3.0~rc2-5 samba4,samba 2:3.3.0~rc2-5 samba-dbg,samba 2:3.6.6-6+deb7u5 samba-common-bin,samba 3.0.20b-1 samba-common,samba 3.0.20b-1 qtsmbstatus-server,samba qemu-system,samba nautilus-share,samba 3.0.27a libwbclient0,samba 2:3.4.1 libpam-winbind,samba 2.2.3-2 libpam-smbpass,samba libnss-winbind,samba 2.2.3-2 gadmin-samba,samba education-main-server,samba dpsyco-samba,samba Dependencies: 2:3.6.6-6+deb7u5 - samba-common (5 2:3.6.6-6+deb7u5) libwbclient0 (5 2:3.6.6-6+d eb7u5) libacl1 (2 2.2.51-8) libattr1 (2 1:2.4.46-8) libc6 (2 2.13-28) libcap2 (2 2.10) libcomerr2 (2 1.01) libcups2 (2 1.4.0) libgcc1 (2 1:4.4.0) libgssapi-krb5 -2 (2 1.10+dfsg~) libk5crypto3 (2 1.6.dfsg.2) libkrb5-3 (2 1.10+dfsg~) libldap-2 .4-2 (2 2.4.7) libpam0g (2 0.99.7.1) libpopt0 (2 1.14) libtalloc2 (2 2.0.4~git20 101213) libtdb1 (2 1.2.7+git20101214) zlib1g (2 1:1.1.4) debconf (18 0.5) debcon f-2.0 (0 (null)) libpam-runtime (2 1.0.1-11) libpam-modules (0 (null)) lsb-base (2 3.2-13) procps (0 (null)) update-inetd (0 (null)) adduser (0 (null)) dpkg (2 1.15.7.2) openbsd-inetd (16 (null)) inet-superserver (0 (null)) smbldap-tools (0 (null)) ldb-tools (0 (null)) ctdb (0 (null)) logrotate (0 (null)) tdb-tools (0 (null)) samba4 (3 4.0.0~alpha6-2) samba-common (1 2.0.5a-2) Provides: 2:3.6.6-6+deb7u5 - Reverse Provides: pi@raspberrypi ~ $ apt-cache showpkg ntfs-3g Package: ntfs-3g Versions: 1:2012.1.15AR.5-2.1+deb7u2 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_wheezy_main_binary-armhf_Packages) (/var/lib/dpkg/status) Description Language: File: /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_wheezy_main_binary-armhf_Packages MD5: b2df024e8627b5d253b85f35263376ef Reverse Depends: udisks,ntfs-3g ntfsprogs,ntfs-3g ntfs-config,ntfs-3g ntfs-3g-dev,ntfs-3g 1:2012.1.15AR.5-2.1+deb7u2 ntfs-3g-dbg,ntfs-3g 1:2012.1.15AR.5-2.1+deb7u2 kvpm,ntfs-3g fsarchiver,ntfs-3g Dependencies: 1:2012.1.15AR.5-2.1+deb7u2 - debconf (18 0.5) debconf-2.0 (0 (null)) libc6 (2 2.13-28) libfuse2 (2 2.8.1) libgcc1 (2 1:4.4.0) libgcrypt11 (2 1.4.5) libgnutls26 (2 2.12.17-0) multiarch-support (0 (null)) fuse (0 (null)) libntfs-3g75 (0 (null)) ntfsprogs (3 1:2011.10.9AR.1-3~) libntfs-3g75 (0 (null)) ntfsprogs (0 (null)) Provides: 1:2012.1.15AR.5-2.1+deb7u2 - Reverse Provides: pi@raspberrypi ~ $ apt-cache showpkg ntfsprogs Package: ntfsprogs Versions: 1:2012.1.15AR.5-2.1+deb7u2 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_wheezy_main_binary-armhf_Packages) Description Language: File: /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_wheezy_main_binary-armhf_Packages MD5: 95f41af9cf1d0b5b66afb7d2a9e7c75d Reverse Depends: partitionmanager,ntfsprogs ntfs-3g,ntfsprogs ntfs-3g,ntfsprogs 1:2011.10.9AR.1-3~ gparted,ntfsprogs fsarchiver,ntfsprogs fai-setup-storage,ntfsprogs Dependencies: 1:2012.1.15AR.5-2.1+deb7u2 - ntfs-3g (0 (null)) Provides: 1:2012.1.15AR.5-2.1+deb7u2 - Reverse Provides: but I'm not sure what to make of the results. I can't tell if it's going to apt-get the servers and getting information, or pulling it from my system. I tried : dpkg --get-selections which I got from here: http://www.howtogeek.com/howto/linux/show-the-list-of-installed-packages-on-ubuntu-or-debian/?PageSpeed=noscript but I think I'm running into the same problem. It seems the syntax has changed since 2007. The man page / help file seems to lead me to believe that the command should work Usage: dpkg [ ...] --get-selections [ ...] Get list of selections to stdout. but I get an error: dpkg –get-selections samba dpkg: error: need an action option I found a few wuestions here that are related, but don't give me what I am looking for. I am interested in just knowing what's installed, but I guess that's a topic for another question. * https://unix.stackexchange.com/questions/90523/what-packages-are-installed-by-default-in-debian-is-there-a-term-for-that-set * https://unix.stackexchange.com/questions/113573/how-do-we-know-what-applications-are-installed-in-linux * https://unix.stackexchange.com/questions/180822/loop-to-check-whether-a-debian-package-is-installed-or-not * https://unix.stackexchange.com/questions/137295/determine-if-a-package-is-provided-by-an-installed-packagein-arch-linux
YetAnotherRandomUser (497 rep)
Jul 19, 2015, 10:26 PM • Last activity: Jul 7, 2025, 12:23 PM
7 votes
2 answers
19008 views
How to change folder permissions during package installation
I'm making a deb package to install a custom application. I changed all files/folders ownership to root in order to avoid the warnings I was getting during installation, and in Ubuntu all runs smoothly, as Ubuntu changes the ownership of the files/folders to the user installing the package. But when...
I'm making a deb package to install a custom application. I changed all files/folders ownership to root in order to avoid the warnings I was getting during installation, and in Ubuntu all runs smoothly, as Ubuntu changes the ownership of the files/folders to the user installing the package. But when I'm installing on Debian, root remains the owner. The application uses a folder to write data, and here is the problem. Running as a standard user, the app does not have permission to write on the folder. Now, how should I deal with this problem? Should I make a post install script on the deb package, doing the chmod o+w? Should I package the directory already with those permissions set? Or is there any way of setting the owner of the files to the user that installs the app automatically (like Ubuntu does)?
Nuno V. (103 rep)
Feb 24, 2016, 10:37 AM • Last activity: Jul 6, 2025, 03:27 PM
-1 votes
1 answers
6055 views
GNOME is not completely removed in Kali Linux
I installed GNOME on Kali Linux, then I decided to remove it and use Xfce 4. So I try ``` apt-get remove gnome-core ``` but GNOME is in the login menu and my system chooses GNOME file manager for inserting files and uses GNOME login panel when I turn my system on. How can I remove GNOME completely?
I installed GNOME on Kali Linux, then I decided to remove it and use Xfce 4. So I try
apt-get remove gnome-core
but GNOME is in the login menu and my system chooses GNOME file manager for inserting files and uses GNOME login panel when I turn my system on. How can I remove GNOME completely?
keihan javadi (1 rep)
Jul 28, 2021, 05:07 PM • Last activity: Jul 5, 2025, 10:01 PM
2 votes
1 answers
2149 views
Debian: LSB package for OpenPrinting driver
I have an [old printer](http://support.lexmark.com/index?page=product&locale=en&productCode=1100_COLOR_JETPRINTER&segment=SUPPORT&userlocale=EN_UK#1) which requires the LSB package in order to install the OpenPrinting driver in Debian: [Preparation of LSB-compliant distributions](https://wiki.linuxf...
I have an [old printer](http://support.lexmark.com/index?page=product&locale=en&productCode=1100_COLOR_JETPRINTER&segment=SUPPORT&userlocale=EN_UK#1) which requires the LSB package in order to install the OpenPrinting driver in Debian: [Preparation of LSB-compliant distributions](https://wiki.linuxfoundation.org/openprinting/database/driverpackages) However, the current version of Debian no longer support LSB: [Debian discontinued LSB support in 2015](https://wiki.debian.org/LSB) Therefore, I'm not able to install the OpenPrinting driver of this printer on Debian Buster. Any idea how to solve that? *** # Follow-up Following some advices, I tried to install the LSB package from Ubuntu. So, I downloaded the LSB package from Ubuntu 19.04 available at https://pkgs.org/ Then I tried to install via the following command: dpkg -i lsb_10.2019031300ubuntu1_all.deb However, some dependencies were missing: dpkg: dependency problems prevent configuration of lsb: lsb depends on lsb-core (>= 10.2019031300ubuntu1); however: Package lsb-core is not installed. lsb depends on lsb-printing (>= 10.2019031300ubuntu1); however: Package lsb-printing is not installed. Then I've downloaded the lsb-core package and tried to install it: dpkg -i lsb-core_10.2019031300ubuntu1_amd64.deb Again, dependencies issues: dpkg: dependency problems prevent configuration of lsb-core: lsb-core depends on libncurses5; however: Package libncurses5 is not installed. lsb-core depends on lsb-invalid-mta (>= 10.2019031300ubuntu1) however: Package lsb-invalid-mta is not installed. lsb-core depends on at; however: Package at is not installed. lsb-core depends on binutils; however: Package binutils is not installed. lsb-core depends on ed; however: Package ed is not installed. lsb-core depends on libc6-dev | libc-dev; however:Package libc6-dev is not installed. Package libc-dev is not installed. lsb-core depends on cups-bsd | lpr; however: Package cups-bsd is not installed. Package lpr is not installed. lsb-core depends on m4; however: Package m4 is not installed. lsb-core depends on mailx | mailutils; however: Package mailx is not installed. Package mailutils is not installed. lsb-core depends on make; however: Package make is not installed. lsb-core depends on patch; however: Package patch is not installed. lsb-core depends on pax; however: Package pax is not installed. lsb-core depends on rsync; however: Package rsync is not installed. lsb-core depends on alien (>= 8.36); however: Package alien is not installed. lsb-core depends on lsb-security (>= 10.2019031300ubuntu1); however: Package lsb-security is not installed. lsb-core depends on time; however: Package time is not installed. It seems that this is not the way to go. Any idea?
Mark Messa (311 rep)
Nov 21, 2019, 11:04 PM • Last activity: Jul 5, 2025, 02:07 PM
3 votes
2 answers
2331 views
Install userspace programs on server without root access
I would like to install some programs on my work development server because it is missing some programs I need for my day to day job. I don't have root access. What I did up to now is compiling the software I needs with option `--prefix=/path/to/local/root`. I then created a script that looks like t...
I would like to install some programs on my work development server because it is missing some programs I need for my day to day job. I don't have root access. What I did up to now is compiling the software I needs with option --prefix=/path/to/local/root. I then created a script that looks like that: #!/bin/sh export LOCAL_PATH="/path/to/local/root" export LD_LIBRARY_PATH="$LOCAL_PATH/lib:$LOCAL_PATH/lib64:$LOCAL_PATH/lib64:$LD_LIBRARY_PATH" binary=$(basename $0) $LOCAL_PATH/bin/$binary "$@" Then, if I create symlink to this program with the right name, it will run the local version. However, I have some issues: - The install folder might move from time to time. It happened recently and I had to reinstall everything - Some programs use libtool, which ignores the LD_LIBRARY_PATH when it finds a library in /usr/lib (which in my case was outdated) - The programs are hard to maintain or update For the first two problems, it seems that creating a chroot would solve the problem. Would fakechroot help in that case ? Will my script still work ? Also, the last issue makes me think about switching to a package manager. I was thinking about portage (from Gentoo, which I use at home), but maybe there are some more suited for my needs. Any suggestion? Maybe a lightweight Linux distribution ? Finally, do I need to symlink /local/lib and /local/lib64 together ?
Nicop (231 rep)
Aug 20, 2015, 11:23 PM • Last activity: Jul 4, 2025, 06:07 PM
0 votes
1 answers
6969 views
No installation candidate
Today I installed Debian 11. I can not install any package on it: sudo apt install make . sudo apt install build-essential and any other package I go on "`Package "name" has no installation candidate` "
Today I installed Debian 11. I can not install any package on it: sudo apt install make . sudo apt install build-essential and any other package I go on "Package "name" has no installation candidate "
stella (11 rep)
Mar 2, 2024, 06:08 PM • Last activity: Jul 1, 2025, 03:09 AM
2 votes
1 answers
2066 views
Remove recommended dependencies of installed package without uninstalling the package nor its actual dependencies with apt
I want to remove the recommended packages of a package using `apt`. `my-package` is installed, and I want to keep it and its dependencies. ``` apt-cache depends | grep Recommends ``` returns a variety of packages, none of which I want. How can I remove these packages? I can write a bash script to do...
I want to remove the recommended packages of a package using apt. my-package is installed, and I want to keep it and its dependencies.
apt-cache depends  | grep Recommends
returns a variety of packages, none of which I want. How can I remove these packages? I can write a bash script to do it but I'm hoping there's an apt way to do it. I have searched online and haven't found a way to uninstall these recommended packages *without uninstalling the package itself and its required dependencies*. In other words, I want to keep my-package and its dependencies, but remove the packages it recommends. Furthermore I ideally don't want to edit config files; I want to keep the system settings untouched.
user481099
Jul 11, 2021, 04:55 AM • Last activity: Jul 1, 2025, 02:02 AM
Showing page 1 of 20 total questions