Tag Info

Hot answers tagged

9

This sounds like it may work, but personally, I'd just use apt-offline. From the manpage: apt-offline brings offline package management functionality to Debian based system. It can be used to download packages and its dependencies to be installed later on (or required to update) a disconnected machine. Packages can be ...


9

A lot of package include this in their control information in the Vcs-* fields. You can see it easily (and without downloading the source package) using apt-cache showsrc. $ apt-cache showsrc gnome-disk-utility ⋮ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-utopia/gnome-disk-utility.git Vcs-Git: ...


5

You want dpkg. Specifically the -S option will find which package owns a file. An example: $ dpkg -S /usr/bin/whereis util-linux: /usr/bin/whereis The example shows that util-linux is the package which contains /usr/bin/whereis.


5

As indicated by derobert, Debian packages which are maintained in a VCS are supposed to indicate this in a pair of Vcs-... fields in their source package. The best tool to use this information is debcheckout in the devscripts package. debcheckout -d gnome-disk-utility will show you gnome-disk-utility's repository information, and if you then want to ...


3

The following command will list all packages which have ever been removed (or purged), as far back as apt's history allows: zgrep -E '^(Remove:|Purge)' /var/log/apt/history.log* This does not distinguish automatic removals from explicit removals, but with a little work you should be able to reconstruct that information. If you always use the command ...


2

To uninstall a package with all its dependencies you can use --auto-remove sudo apt-get remove --auto-remove tor


2

I used to have a "no internet" update process on my machine. This is how I did it: First I used apt-get --print-uris update > meta.list to create a list of all files needed for updating the system. Using wget, I could run wget -x -i meta.list on any other machine to download the meta data on a USB stick. Back to my machine, I generated the list of files ...


2

Lintian checks the quality of your Debian package; generally speaking you can ignore its output for a simple package if you're not concerned about distributing the package. It's complaining about the ownership of the files in your package; they should be owned by root, not john (I'm guessing you're the user with uid 1000). Your control file looks fine (for a ...


1

Look at the keepcache parameter. I believe that it goes in /etc/dnf/dnf.conf and should read keepcache=1 or keepcache="true"


1

I don't know a way to do this using apt, but you may try searching your bash history: grep 'apt-get .*remove' ~/.bash_history This should output all lines with remove or autoremove.


1

You can do a sudo apt-get autoremove to uninstall everything that was automatically installed and is no longer needed. I guess tor-geoipdb gets removed because it depends in tor so it can't be installed without tor being installed. Now torsocks can be installed on it's own but is no longer required to being installed. So it can be automatically removed. ...


1

You're just fetching data from Debian's database, which might be out of date or incorrect. With that caveat: You can pass the no-act flag, -s, to apt-get when fetching source like you're doing now to get the same data: $ apt-get -s source konsole Reading package lists... Done Building dependency tree Reading state information... Done NOTICE: ...


1

dpkg --search /usr/bin/mysqldump dpkg -S /usr/bin/mysqldump The argument of dpkg --search is a shell wildcard pattern, so you can do things like dpkg -S bin/*dump. Alternatively, you can search the database manually — it's just text files. grep mysqldump /var/lib/dpkg/info/*.list On a system with a lot of packages installed, dpkg -S can be slow because ...


1

In the left panel, select the “Status” filter, and choose the “Installed (upgradable)” list. You can select all packages in a view by clicking the first package, scrolling to the last package and shift-clicking it. Or with the keyboard, press Home then Shift+End. Then right-click or bring up the “Package” menu and select “Unmark” or “Mark for Upgrade”. You ...


1

As stated in the comment by @steven-lu , patch is missing in the os, so his solution works perfectly: yum -y install patch


1

Regardless Kernels And Modules Package Sorting : This is tested under Mageia/Redhat etc like systems 1. Get all used licenses from all your packages. rpm -qia | grep "License" | sort 2. Find out what license does not match your needs 3. Find out what package are using the problematic license rpm -qia | grep ": Problematic License" -A 15 -B 20 ...


1

Nowdays the changelog command within apt-get, download and display a changelog for the given package: apt-get changelog tinyproxy



Only top voted, non community-wiki answers of a minimum length are eligible