Hot answers tagged

3

dpkg -V or dpkg --verify checks the integrity of packages(s) by comparing the metadata stored in it's database and the file paths. You can select the output format using --verify-format option but it currently only supports rpm format. In rpm format only the paths that failed any check are shown. Take an example of failed check: ??5?????? c /etc/lightdm/...


3

You have two problems: /etc/dpkg/dpkg.cfg.d/multiarch file is being opened by the shell as unprivileged user before the echo command runs, hence the permission error as only root should be able to create the file or write in it. The sudo is only being applied to echo command. The string foreign-i386 architecture is not correct for enabling multiarch ...


3

The file appears to be corrupted, it's not an installation issue. Delete the file, redownload it, and try to dpkg it again.


2

Try this: Open a terminal,Press Ctrl+Alt+T Run it: exec sudo -i dpkg --configure -a apt-get -f install apt-get -m install apt-get update apt-get dist-upgrade apt-get install --reinstall ubuntu-desktop apt-get autoremove apt-get clean


2

What's likely happening is that the software updater is running and checking for updates. Only one program at a time can access the packages cache. Usually if you wait long enough for the updater to finish, it will work again.


2

No, you don't have to remove previously installed one. However, it depends on the package quality. Myself I don't uninstall first only if I already faced a problem. The normal update installation just remove the previous keeping the configuration files then install new one. dpkg will ask you to overwrite or keep previous config file if it is in /etc and ...


2

From the dpkg manpage: -V, --verify [package-name...] Verifies the integrity of package-name or all packages if omitted, by comparing information from the files installed by a package with the files metadata information stored in the dpkg database (since dpkg 1.17.2). The origin of the files metadata ...


1

Here you go: No difference between the contents, only that 10periodic will be parsed earlier than 20auto-upgrades due to the ascending parsing behavior of apt. If same directive is mentioned in two different files (or more), the the earlier one(s) will be overridden by the last one. No. APT::Periodic::AutocleanInterval takes an integer value and sets the ...


1

Try using the DPKG program to verify those broken held packages. Man page extract -V, --verify [package-name...] Verifies the integrity of package-name or all packages if omit‐ ted, by comparing information from the files installed by a package with the files metadata information stored in the dpkg ...


1

This is a bug in dpkg which has been reported here: Bug #1597466


1

This worked! I'm now the happy user of 16.04. sudo lsof /var/lib/dpkg/lock sudo kill -TERM <PID> sudo dpkg --configure -a


1

dpkg-query does not have any field option to show date/time of installation. The other way of saying this is that dpkg does not store this information. Under the hood, dpkg-query uses various files in /var/lib/dpkg/ to get the information. Here are the available field names: Architecture Bugs Conffiles (internal) Config-Version (internal) Conflicts Breaks ...


1

You do not need to uninstall the package. If you run dpkg -i some-package-v2.deb the old version will be replaced by the new one. All files will be overwritten. This is a normal way to upgrade a package without using repositories.


1

Run the following commands: mkdir MYSQL cd MYSQL sudo apt-get download mysql-common ar xvf mysql* tar xvf dat* sudo cp ./etc/mysql/my.cnf.fallback /etc/mysql/my.cnf.fallback sudo dpkg -i mysql*deb cd sudo apt-get -f isntall


1

Another process is currently using dpkg. This happens if any command using apt-get is currently running, or some other program that locks this file (such as aptitude, synaptic, gdebi, or dpkg). It also can happen if you start an installation but then force it to stop. Waiting for the current installation to finish or restarting your computer can solve this ...


1

i think you have the install and -f backwards. try apt-get install -f or, you might try sudo apt-get install --reinstall kde-full and see if reinstalling KDE will automatically fix broken dependencies...


1

if you are trying to install a specific version of openssh server you can do this through APT you don't have to do it with dpkg. sudo apt-get install openssh-client=1%3a5.3p1-3ubuntu7:i386 This way any dependencies (such as libssl) will be installed for you by APT. I would check the format of the version string as it looks a bit wierd.


1

The resolve is sometimes not that easy, especially if apport itself is involved, here is the way I would approach it: First as mentioned bring your apt list up to speed with: sudo apt-get update Now onto fixing the problem itself: sudo apt-get install --reinstall apport sudo apt-get -f install sudo apt-get dist-upgrade And if this is still not enough ...


1

Solved, unfortunately, by a complete fresh install. But I had some trouble with gnome environment and ended up giving it up. So be aware. Thank you.


1

Try this: Switch on your computer. Press and hold the Shift key, which will bring up the Grub menu. Select the line which starts with Advanced options. Select the line ending with (recovery mode) Press Return and your machine will begin the boot process. Your pc should display a menu with a number of options. One of the options will be Enable ...


1

Shutting down apache2 first before installing nginx should fix this problem.


1

As Google have stopped support for Chrome and 12.04, your best solution is to install Chromium instead: wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo apt-get update sudo apt-get install chromium-browser


1

I encountered this issue when I tried upgrading 15.10 to 16.04 and I fixed using below steps. Boot in command line by pressing E when highlight the first entry to edit it. Cursor to the end of the linux line. Remove quiet splash vt.handoff=7 and add single. Press Ctrl+X to boot. Run screen (in order to get more than one prompt). Press Ctrl+A and then C to ...


1

I got the 64-bit .deb file from preyproject.com/blog/page/4?lang=es%2Fdownload then to install it go to the directory containing .deb file and run sudo dpkg -i prey_1.5.0_amd64.deb in terminal,the installation will start.



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