Tag Info

Hot answers tagged

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 ...


2

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


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 ...


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)


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.


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.


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!


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.


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 ...


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 ...


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 ...


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 ...


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 ...


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

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 ...


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 ...


1

You need to install the same version of codeblocks-contrib and codeblocks-wxcontrib-dev. This would resolve your issue cleanly, because it looks like the package maintainers decided to move a file from one package to another in between the two versions, which created the conflict you're currently facing. You appear to have installed those packages with APT, ...


1

This I had already done and in fact someone else had posted a similar problem and after having tried exactly the same thing, received no more answers. BUT it finally occurred to me-- given that apt-get sends me over to dpkg, why not trying purging there? sudo dpkg --purge dropbox and voila'! problem solved!!!


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 ...


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



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