Tag Info

New answers tagged

1

The package is trying to overwrite files which are maintained by a different package. The dpkg error indicates that the insight package is trying to overwrite a file managed by gdbserver. You can't have two packages managing the same file in the packaging system's mind, so it errors. I would suggest that you investigate the PPA and reach out to the PPA ...


0

I feel to guess an anwser, still feel free to add your own anwser. I've learned there is a /var/lib/dpkg/available database, as raw‑text. I checked for python3 (to go on with the same example as in the question) it says Provides: python3-profiler: there is no python3:any. So may be the anwser is: there is not always a direct match between a requirements ...


2

python3:any (>= 3.3.2-2~) is not a virtual package, it's a substitution string created by the ${python3:Depends} pattern and filled by dh_python3 when called from dh_gencontrol when the package was built. Take a look at the debian/control file of the apturl source package: Package: apturl-common Architecture: any Depends: ${python3:Depends}, ...


2

For any configuration file for which apt has posed a question, apt will keep a backup based on the action you took. If you chose to replace the current file with the package file, the original will be saved with the extension dpkg-old. If you chose to keep the current file, the new one from the package will be kept with the extension dpkg-dist. ...


0

Issue 1 You copy the sources.list which contains references to a CD. When trying to install the packages in your VM, there's no CD in the (virtual) drive, hence Failed to fetch cdrom://. Issue 2 W: Failed to fetch http://ppa.launchpad.net/jon-severinsson/ffmpeg/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found Again, there's something in the ...


0

Just follow these commands to uninstall mongodb sudo apt-get purge mongodb mongodb-clients mongodb-server mongodb-dev sudo apt-get purge mongodb-10gen sudo apt-get autoremove


4

TL;DR: You can use reverse-depends src:$(what-source libsslcommon2). There is no libsslcommon2 source package. Instead, libsslcommon2 is one of a number of binary packages built from the qpid-cpp source package. In general, a binary package may or may not have the same name as the source package used to build it, and source packages may provide multiple ...


2

The reverse-depends software doesn't automatically detect the source package from which a given binary package is generated. The src: label is used to indicate that what follows is the name of a source package. It so happens that the name of the source package for bash is, well, bash. But for libsslcommon2, the source package is named qpid-cpp: $ ...


0

Supposing that you want to keep Ubuntu OS, you can install Kali linux within Ubuntu with a virtual machine (VirtualBox, etc), or you can create another partition and install Kali linux in that partition, so you can dual boot either to Ubuntu or Kali linux when you start the machine.


0

My /etc/dpkg/dpkg.cfg.d/multiarch contained: foreign-architecture i386 I deleted the file. I then issued: dpkg --add-architecture foreign-architecture


1

I looked into the prey.postinst script, found in /var/lib/dpkg/info, and used set -x to locate the error. There seemed to be something wrong with Line 72 : DISPLAY=:0.0 su $PREY_USER -c "$PREY_BIN config gui --check-file $TEMP_OLD_CONFIG" After commenting this line I was able to finish the installation (sudo apt-get install -f). I also deleted the ...


1

dwww uses cgi to serve the webpages and cgi is no longer enabled in apache2 by default; so you need to enable cgi: sudo a2enmod cgi And then restart the apache2 service with: service apache2 restart That will solve the major problem you are experiencing with dwww returning not found. But you might run into another problem. dwww allows access from the ...


0

This looks about right. From here: I would do it like that: Save the list of installed packages: dpkg --get-selections > packages Clear all selected packages: dpkg --clear-selections Now do your downloading and installation of your package with dpkg. Restore the list of installed packages: dpkg --set-selections < packages Do ...


0

FWIW, I ran into this same problem and it turned out to be an issue with the version of wkhtmltopdf I was trying to install. I have an Ubuntu 12.04.5 64-bit system and was trying to install a 32-bit version of the package. Looks like you have the 32-bit version there as well; should it be amd64 instead of i386? All package downloads here: ...


0

You are getting instructions to take two actions: Use apt-get autoremove to remove them. So do a sudo apt-get autoremove. This isn't likely the root of your problem but it sure looks like your packages are a bit out of whack. Perhaps an install failed partway through and left garbage? Not sure but the autoremove seems to always just work for me so I ...


1

I just installed the package and could reproduce the problem. This command has solved the problem: sudo rm /var/lib/dpkg/info/mfc8840dlpr.*


1

try this just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below: at first, delete damaged files by rm command: sudo rm -fr /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.6_amd64.deb now, change your sources.list generate your new list from here: http://repogen.simplylinux.ch/ copy all the lines and ...


2

First, start with a fresh install. Then run this command in the terminal, it will upgrade everything, remove old packages: 'sudo apt full-upgrade' You can run 'autoclean' after, if you like. Good luck.


0

Well, I'm thinking that what you have there is actually an apt hook, documented in the "How Apt Calls Dpkg" section of the apt.conf(5) manpage; dpkg hooks are either given on the dpkg commandline (as stated in the fragment of dpkg(8) you quoted) or in /etc/dpkg/dpkg.cfg{,.d}.


0

Use "aptitude" to solve the problem. sudo apt-get install aptitude sudo aptitude remove mysql-apt-config Now follow the proposed solutions.


0

This error occurs because the package you are trying to download and install requires libstdc++6 >=4.9. The latest version of libstdc++6 available on the Ubuntu 14.04 LTS repositories is 4.8.2-19ubuntu1, which is older than 4.9. I'm assuming that you're running Ubuntu 14.04, because the libstdc++6 package on your computer is stuck at 4.8.2-19ubuntu1. The ...


1

Your unmet dependencies problem is caused by the MySQL APT Repository repository. MySQL Server 5.6 from the MySQL APT Repository requires libstdc++6 >=4.9 however MySQL Server 5.6 (mysql-server-5.6) from the the default Ubuntu repositories requires libstdc++6 >=4.6. When you install the version of MySQL Server 5.6 from the Ubuntu Software Center, it ...


0

libstdc++6 : Depends: gcc-4.9-base (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed The package gcc-4.9-base (= 4.9.2-10) is only available for Ubuntu Vivid. Check this (utopic) and this (vivid). Remove the package mysql-apt-config, installed by these instructions and use mysql-server to get the latest version. sudo dpkg --force-all -P mysql-apt-config ...


2

You need to run this command as the root user, or at least use sudo to grant you super user permissions. Try: sudo apt-get update Hope that helps!


1

I'm not sure if there's a better way, but at the very least you could remove the signature "manually" with ar: ar d "$yourpackage.deb" _gpgbuilder (or additional things besides _gpgbuilder if you accomplished having "three signatures" by giving role names other than "builder"). This works because .deb files, at the outermost layer, are essentially just ...


0

For embedded signatures, you can open the .deb file with file-roller, and remove the embedded signature file. You can also use ar with ar d package.deb _gpgbuilder. For detached signatures, you can just open the xul-ext-ubufox_3.0-0ubuntu0.14.10.1.dsc file in a text editor, and should be able to remove the extra signature blocks from the bottom of the file. ...


2

I had this error after upgrading from 14.04 to 14.10. After hours researching found the command that saved the day: $ sudo aptitude install --safe-resolver From the man page: --safe-resolver When package dependency problems are encountered, use a “safe” algorithm to solve them. This resolver attempts to preserve as many of your choices as ...


1

Same here! 30 minutes of digging and I found this: $ apt-get download udev $ sudo dpkg -i --force-confmiss udev_204-5ubuntu20.9_amd64.deb $ sudo apt-get upgrade Worked for me. For more info go to Dimitri's comment in Ubuntu's bug tracker.


1

in addition to @Wilhelm's advice (which is good) if you are left with a stale lock file that will not go away (this happens some times) you must remove it manually. sudo rm -rf /var/lib/dpkg/lock But be very careful that you have the path exactly correct as the sudo rm -rf will remove files (even system files) in use if you point it to them and can thus ...


2

As far as I know, getting apt to not lock is impossible. The error is happening because the script is trying to run multiple apt sessions simultaneously. I think it would be best if you could modify the script so that apt operations are run after each other, in a queue maybe.


0

So I finally got this working. debconf would always fail when getting the first question in my postinst if debconf already had the value. I finally had the (obvious) idea to check out the postinst and config files of other packages on my system and this is the trick: In your config . /usr/share/debconf/confmodule db_input high mypkg/mysql_root_pw || true ...


0

The problems with the connection to my wifi router being lost and being unable to restore it, the cordless mouse note working, and the display being too wide would have taken days to debug and fix manually. Search in askubuntu for the many questions related to these issues, in my case probably stemming from the linux-image-extras* package. Take the easy way ...


0

The problem with linux-image-extra-3.13.0-49-generic_3.13.0-49.81_i386.deb not being updated over the previous release was caused by the package being damaged in some way when Ubuntu Software Centre, Synaptic, or apt-get downloaded it. Go to the temporary download folder ... $ gksudo nautilus /var/cache/apt/archives ... and delete the package .deb file. Now ...


2

I would suggest you to try: sudo apt-get autoremove sudo apt-get clean sudo apt-get update sudo apt-get upgrade sudo apt-get remove -f and then install Java8 again.


0

1/ Firstly sudo dpkg --configure -a sudo apt-get update && sudo apt-get upgrade -y 2/ if it does not work sudo apt-get install -f sudo apt-get update && sudo apt-get upgrade -y 3/if it does not work sudo dpkg --force-all --configure -a sudo apt-get update && sudo apt-get upgrade -y 4/ if it does not ...


0

Simplest way I can think of is sudo apt-get purge texlive*. Don't know how safe that is. After you purge everything. Reinstall from the other site. I am a big fan of sledgehammer solutions in favor of elegant surgery for desktop problems.


1

I assume that your target program is a c/c++ or similar language. You can include all files in one binary packages. But still the best to separate development files in another one. *-dev (not -devel) should include only headers, statics libs, shared libs and even binary tools if these tools only used for development. You can declare multiple binaries ...


0

The OP posted this solution as an edit (reproduced here with minor copy editing). First I tried to type in the terminal: sudo apt-get clean sudo apt-get autoclean sudo apt-get install -f This didn't work. Then I tried sudo apt-get autoremove which also didn't work. Finally thanks to kindness of people here this code worked: sudo ...


2

It looks like your apt is locked. You can try unlocking it via sudo rm /var/lib/apt/lists/lock or sudo rm /var/lib/dpkg/lock For your information, this question has been asked before and might possibly be a duplicate of E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)


1

To upgrade those packages to their latest version present in their repository, run: sudo apt-get update && sudo apt-get install <package_1> <package_2> <package_3> ... But this doesn't mean that you'll get a Trusty version, nor that you'll get the very latest version. The former it's simply because the package might have not ...


2

The packages have a "raring" reference for different reasons. Most of them appear to be installed from PPA's such as this. These must be manually handled when Ubuntu is updated. Looking at your software sources, you should see the relevant PPA sources. You will have to manually update them to your current version, or you could use a tool like this. The PPA ...


0

BACK UP IMPORTANT FILES FIRST Type the following in terminal to remove libreoffice and openoffice: sudo apt-get remove --purge libreoffice* openoffice* sudo apt-get clean sudo apt-get autoremove Then install one or the other, this seems to be the only way. sudo apt-get install libreoffice OR sudo apt-get install openoffice If it is not found sudo ...


1

Well, after some searching I managed to forcefully remove the libqupzilla1 package and update qupzilla to the latest release. For future reference: I removed the package using the following code sudo dpkg --force-all -P libqupzilla1 After that I installed the lastest version using sudo apt-get install qupzilla


0

There is no solution to this except the following: Open terminal and type cd /opt then run this sudo rm -r BitDefender-scanner This will remove the directory as a root Now when you will open synaptic package manager, there will be no problem.


0

It seems that the problem must be solved by loading the i8k.ko module at start-up.


2

Reboot/logout will do it as well if you do not want to wait.


0

The post-removal script of bio-linux-cdbfasta requires a program /usr/bin/update-menus, which is missing in your setup. Please re-install its package menu. Unfortunately, you cannot just use sudo apt-get install --reinstall menu because apt-get will first try to remove any half-removed packages, which currently fails. Therefore you will need to manually ...


0

A quick search on several support places returned many posts talking about dpkg permissions which is solved by providing the proper permissions as mentioned in this site: https://thelowedown.wordpress.com/2010/04/16/debian-apt-get-installs-fail-with-dpkg-error-code-100/ I am going to reproduce the steps over here for your convenience. The Advanced ...


1

I found the answer here and here. What puzzles me is that I tried this twice before and it didn't work, but it probably worked this time because I used a script I found on launchpad answers that backed up and restored what it could... I don't know. Either way, here is the fix: pkexec gedit /var/lib/dpkg/status Search for the offending package by name and ...


0

I read this work-around a few days ago when I was trying to install Dropbox in my Ubuntu 14.04. I followed the following steps: First install dropbox daemon with this command (from the dropbox website): cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf - (for 32-bit systems) cd ~ && wget -O - ...



Top 50 recent answers are included