Tag Info

New answers tagged

2

As wikipedia says, Ångström uses opkg for package management designed for embedded devices that resembled Debian's dpkg. So you can download your package, copy it on your device and run opkg install <package_name>.ipkg.


1

The files that are to be packaged need to be installed/isolated into a shadow tree. This is usually done by overriding]DESTDIR like make DESTDIR=%{buildroot} install in the %install section.


2

I use Gentoo, So i would extract the 5th field of /etc/passwd to find the info: cat /etc/passwd | grep cron | gawk -F: '{print $5}' added by portage for cronbase Portage is package management system for Gentoo. So cron account is created by portage for the package cronbase.


1

Warning: This is a crude way and may not work for all the users created by packages. Most of the packages that create users will be creating those user's home directories outside /home and most times their home directories will be part of the package. In such cases, you can rpm -qf such users home directory and find out the package. User ntp ...


2

AFAIK there is no native package manager function that creates (or removes) those functional /system users but that is done in a custom pre- or post-install script sections in RPM packages. Typically the RPM package will create and claim ownership of the home directory of those users e.g. the httpd package creates the user apache and the home directory of ...


3

On Debian-based systems (including Ubuntu), packages create users using maintainer scripts, usually postinst. Therefore one way could be to grep through these scripts: grep -R --include='*.postinst' -e useradd -e adduser /var/lib/dpkg/info/ This assumes, of course, that the postinst script hasn't been deleted (either manually or because you uninstalled ...


4

It should be fine to delete files in /usr/share/doc on Debian-based systems. The Debian policy explicitly specifies in section 12.3: Packages must not require the existence of any files in /usr/share/doc/ in order to function. [...] The system administrator should be able to delete files in /usr/share/doc/ without causing any programs to break. ...


0

Interfering with the Debian package manager by deleting files that are under its control is always a dangerous thing to do. Hence the inclusion of this paragraph in the documentation of localepurge: Please note, that this tool is a hack which is not integrated with Debian's package management system and therefore is not for the faint of heart. This ...


2

Generally, the /usr hierarchy is used for stuff coming from the OS vendor/site administrator, while /usr/local is used for things installed locally (for example on a network, /usr might be a NFS mount which is shared by several computers, while /usr/local is a local filesystem). This is why configure scripts usually install into /usr/local by default - to ...


0

To fix this error, I think the command you wish to find is "yum-config-manager --disable ". In your case, try both "yum-config-manager --disable ffmulticonverter_stable" or "yum-config-manager --disable ppa:ffmulticonverter/stable". What's more is, why are you trying to install a ppa on a Fedora system? It won't work, as ppa is for Debian based systems. If ...


7

As you suspected, Unix-like systems prevent most files being executed from being overwritten. Here's what the standard says about the open system call: The open() function may fail if: [ETXTBSY] The file is a pure procedure (shared text) file that is being executed and oflag is O_WRONLY or O_RDWR. But a file being executed can still be unlinked, ...


1

The freebsd-update and pkg upgrade do very different things. The freebsd-update will (binary) update your base system. The base system contains everything except /usr/local: check /{,s}bin and /usr/{,s}bin to what programs are shipped with the base system. The parts of base system don't appears in package database, it is a separated infrastructure. The ...


7

The browser files on disc just get replaced. The running program (if not completely in memory) keeps the old executable files open until the program closes (but until then those are no longer the executables files you get via the directory entries). On the next restart of the browser you get the version. No reboot necessary except for the program that gets ...


0

First, begin by reading the Handbook:AMD64/Portage/Files section. Please understand that adding a profile is not a trivial task. Portage profiles work on 3 Principles: Variable/String Expansion - Provided by your Shell Variable Inheritance/Hierarchy USE Flags TL;DR:Skip to Wrap-Up Since most readers know what String Expansion is, we will skip that ...


0

Move the files from /etc/opensips to /opt/opensips them after the "make install" command.


1

You could use dpkg-checkbuilddeps. The man page says This program checks the installed packages in the system against the build dependencies and build conflicts listed in the control file. If any are not met, it displays them and exits with a nonzero return code. For example: faheem@orwell:/usr/local/src/julia/julia-0.3.2$ ...


0

To list all of your installed packages which match 'cups', run dpkg -l | grep cups Then just remove them with apt-get remove. Even after that, there could be some cups processes running. A simple reboot will eliminate them (an alternative would be to manually kill them).


1

The nvidia kernel module must be rebuilt with each kernel update because the nvidia.komodule is built and placed in the modules directory for each kernel. This occurs for a few reasons (off the top of my head): The module is binary. Each build requires access to the new kernel headers. The dkms mode switching interferes with the binary module. The ...


0

Package managers are not really effective for configuration managment for a few reasons: Most packages contain a configuration when installed, so you'd have to make custom packages that have them removed. Package managers work under the assumption that the package installs a basic configuration that can be changed within the system. So if a package is ...


-1

If your having problems with 404 you can try fix404: sudo apt-add-repository ppa:lkjoel/fix404 sudo apt-get update sudo apt-get install fix404 or try these sudo in terminal update repositories from 404 For Linux Mint, run this command as well: sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' ...


2

Use the following command rpm -q mypackage && rpm -i mypackage.rpm. If querying for the rpm succeeds then installation of the rpm package will proceed. Else If the query fails then the installation will not proceed. However If you use || instead of &&, then despite of the previous command of querying the package fails, it will try to install ...


3

You need to download the following 4 packages from a mirror: glibc-2.17-55.el7.i686.rpm glibc-2.17-55.el7.x86_64.rpm glibc-common-2.17-55.el7.x86_64.rpm glibc-headers-2.17-55.el7.x86_64.rpm After doing so, issue a rpm -ivh glibc-*. If that fails, download: glibc-devel-2.17-55.el7.i686.rpm glibc-devel-2.17-55.el7.x86_64.rpm and reissue the command ...


0

On Solaris you can install pkgutil, which greatly simplifies package management on Solaris Install pkgutil: pkgadd -d http://get.opencsw.org/now Example on how to use pkgutil: Update list of packages /opt/csw/bin/pkgutil -U Install vim /opt/csw/bin/pkgutil -a vim /opt/csw/bin/pkgutil -y -i vim /opt/csw/bin/vim For more details: ...



Top 50 recent answers are included