Tag Info

New answers tagged

3

To change apt cache permanently : cd /new/cache/is/here mkdir partial nano /etc/apt/apt.conf Add this line: dir::cache::archives /new/cache/is/here To change temporarily: sudo apt-get -o dir::cache::archives="/new/cache/is/here" install packagename Or you can create a symbolic link (it will DELETE your current cache) You can first move old cache ...


-1

Use apt-get remove linux-source-x.y.z or apt-get purge linux-source-x.y.z...


0

Usually, the doc packages are recommended by the main package, but aren't hard dependencies. If they were hard dependencies (for example, texlive-full), I don't think there's a safe or simple way. For recommended packages, the answer is simple: sudo apt-get install --no-install-recommends <package-name>


0

--path-exclude could be used to filter out unwanted files when installing a package: dpkg -i --path-exclude=/usr/share/doc/* ... To make permanent solution, Create a file /etc/dpkg/dpkg.cfg.d/01_nodoc which specifies the desired filters. Example: path-exclude /usr/share/doc/* # we need to keep copyright files for legal reasons path-include ...


11

In short: apt-get install does everything that is needed that your system can successfully execute the new installed software application. Longer: Preliminaries: From the manpage: All packages required by the package(s) specified for installation will also be retrieved and installed. Those packages are stored on a repository in the network. So, ...


5

For the actual under-the-hood stuff, you'll need to grab the Apt source. Fairly simple if you have source repositories enabled: apt-get source apt The apt-get command itself lives in cmdline/apt-get.cc. It's a pain to read through but most of apt-get's actions are spelled out quite extensively in there. Installation however, is mapped through a DoInstall ...


19

Mostly, apt-get does the following things: checks for dependencies (and asks to install them), downloads the package, verifies it and then tells dpkg to install it. dpkg will: extract the package and copy the content to the right location, and check for pre-existing files and modifications on them, run package maintainer scripts: preinst, postinst, ...


1

It sounds like your machine is compromised. Stop using it. Do not log in to email or banks. It's tough to know how badly you're compromised. Is someone targeting you specifically? Are they just looking for a spam host? A node for ddosing? There may now be software keyloggers capturing every username and password you type. Or maybe just rogue web and mail ...


5

Since both nginx and apache use port 80, there's a race condition here during start up. If nginx starts up first, Apache fails and vice-versa. So either: Remove nginx: sudo apt-get remove nginx - better option, since you apparently don't need it. Change /etc/nginx/sites-available/default so that it doesn't use port 80: listen 8080; # or any unused port ...


1

After asking at the IRC channel of ubuntu-eg, I received an answer that worked for me: dpkg -P gnome-applets apt-get -f install


0

First error: W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/trusty-getdeb/apps/binary-amd64/Packages 521 Origin Down [IP: 104.28.24.125 80] means that server is down. I tested repository url and it is really down. Second error that you got means that there are two entries for the same repository. Check where are defined using these ...


-1

You can read script by command : cat /usr/bin/add-apt-repository. In which following lines are related to this: # display more information about the shortcut / ppa info if not options.assume_yes and shortcut.should_confirm(): try: info = shortcut.info() except ShortcutException as e: print(e) ...


0

Your problem is that you have an unofficial PPA which is breaking your install procedure. To remediate this, run the below commands: sudo add-apt-repository --remove ppa:ondrej/php5-oldstable sudo add-apt-repository --remove ppa:ondrej/php5 This PPA is providing a different (old) version of PHP instead of the proper version that Ubuntu wants. Run these ...


1

The default python 2.7 on 14.04 is 2.7.6: Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 So I think that you installed your own python version which does not see the modules installed by apt-get. Try instead to call python this way (the version installed in /usr/bin): $ /usr/bin/python Python 2.7.6 (default, Mar 22 2014, 22:59:56) ...


0

If you are behind a proxy, edit or create the file : /etc/apt/apt.conf And insert your proxy settings : Acquire::http::Proxy "http://<proxy_host>:<proxy_port>"; Save it, and relaunch the apt-get command


1

The OP solved the problem himself in the question: I solved by running: sudo apt-get remove --purge libreoffice-core libreoffice-common python3-uno libreoffice-* for some reason removing each package separately has failed but in the same command - it worked


1

Steps: sudo sh -c "echo 'deb http://archive.canonical.com/ubuntu/ trusty partner' >> /etc/apt/sources.list.d/canonical_partner.list" sudo apt-get update sudo apt-get install skype


0

In case anyone else comes across this question - it seems that the Chrome package maintainers have removed the conflict in the 3 published packages - google-chrome-stable / -beta / -unstable. These each install into different directories and via /etc/alternatives, /usr/bin/google-chrome is soft-linked to a particular version (google-chrome-stable by ...


2

Activate repositories from Software & Updates Before any installation, run sudo apt-get update.


0

Used ppa-purge ppa:ondrej/php5-5.6 as suggested by muru. It helped. Had to fix all configs manually though.


0

There are 2 Sublime Text PPAs and both install the correct version. You've probably used the Sublime Text 3 PPA but posted the instructions for Sublime Text 2 in your question. I just tried the Sublime Text 2 PPA and it correctly installs Sublime Text 2: So the instructions for installing Sublime Text 2 you posted in your question are correct as long as ...


0

It'll work but it's not that safe in terms of stability; you might end up with broken packages. However, you'd pretty much be doing an upgrade to 14.04 because, as soon as your system does the first software update, the 14.04 counterparts of all your installed 12.04 packages and applications will update to the newest version available by default, versions ...


0

Try the below command first and check whether you are able to install as you wanted. apt-get update apt-get upgrade apt-get dist-upgrade If not able to do so try purging and reinstall it. apt-get purge


0

Ok, so I have actually browsed to url http://vodafone.station/?page=dashboard_wizard.html&org_url=http%3a%2f%2fit%2earchive%2eubuntu%2ecom&intercept_id=5&host_mac=00:21:9b:46:53:9c and I was presented with a completely useless wizard page, inviting me to complete the installation (?!) and afterwards to download whatever mobile app. I clicked on ...


0

The following comment from CAB worked for me: @Kapil this looks similar to another post about pidgin. Try this answer; askubuntu.com/a/162256/54510. -f install will attempt to install whatever is missing/88. -f install python will attempt to installwhatever is missing + python. --fix-missing should fix or ignore missing dependencies. Thanks a ...


2

The -V option is not meant to be used with the update command. Only upgrade or install allow this option: Quite a while ago I wanted to ability to show the versions of packages as they get upgraded. It makes a great deal of difference to me if a package is updating from 1-3 to 1-4 vrs 1-3 to 2-1. The attached patch provides an option to print ...


0

Apparently nobody flagged the different versions of the Python packages as conflicting. Therefore apt-get cannot correctly resolve the dependencies and replace, remove, and add the packages in the right order. As a workaround you can remove the conflicting packages manually while overriding dependency issues. You may need to play around a bit with the order ...


0

Run these commands: $ sudo apt-get install -f $ sudo dpkg --add-architecture i386 $ sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" $ sudo apt-get update $ sudo apt-get install skype


0

I violently force the upgrade, by editing my sources.list to only include the 13.10 update sources. Then just apt-get update, upgrade, dist-upgrade, autoremove, autoclean. Surprisingly, later the upgrade to trusty just worked with do-release-upgrade.


0

Which Ubuntu are you running? And why do you have to install it like that? Can't you just install with this? sudo apt-get install steam See Installing Steam on Ubuntu 12.04 On a sidenote, you may have to install the restricted repo in USC to be able to install Steam through it.


1

If you install xubuntu-desktop, you will proabably recover most of what you lost. sudo apt-get install xubuntu-desktop


2

Depending on what packages sources you are using you should expect at least 30 - 40 MByte to be used. If you run apt-file update as normal user instead of root the files will be downloaded into $HOME/.cache/apt-file/. Of course in that case you need to run apt-file search as that user, too. You can use apt-file purge to delete the files downloaded by ...


1

It sounds like your sources.list file is missing, based on your topic description. Check if the file is indeed missing... file /etc/apt/sources.list If it is missing, I've attached a copy of the original sources.list file at the end of this answer. (By the way, I noticed you are logged in as root. It's probably better to login as an admin user and ...


3

Just edit your sources.list to point to the old-releases servers, as described in directions for EOL upgrades (https://help.ubuntu.com/community/EOLUpgrades), and proceed to install as you see fit. A word of caution: you won't get any updates, even security related. Even simple updates. So, even though this is the answer to your question, it is still ...


0

The output of sudo apt-get upgrade. Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: click : Depends: python3:any (>= 3.2~) Depends: python3 but it is not installable Depends: ...


0

Thanks for your response. The output for sudo apt-get install -f Removing click (0.4.21.1) ... Traceback (most recent call last): File "/usr/bin/click", line 31, in <module> from click import commands ImportError: No module named 'click' dpkg: error processing package click (--remove): subprocess installed ...


0

you may use code sudo apt-get install -f and respond if it updates program called "click" that you're getting error


0

This means that the version mentioned by apt-get is the latest version in the repositories that are known to it. If you are able to find a newer repo for Calibre, you could add it so apt-get can look for the packages and install it. But please make sure it's a secure/trusted repository! Edit: Here is a list on Launchpad with some repositories, but since the ...


0

I just had this issue, and the suggestion to use apt-get autoremove did not work for me. I resolved it by doing: sudo apt-get purge linux-headers-3.2.0-23 on such linux headers that lived in /usr/src. I did not remove the headers that correspond to the kernel currently being used. Restarted the server successfully.


2

You can again start the apt-mirror process. It will continue from where it is stopped.


0

It can be done without apt by this: echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" > /etc/apt/sources.list apt-get update # Download and extract the executable to /usr/bin curl -o /usr/bin/btsync.tar.gz http://download-new.utorrent.com/endpoint/btsync/os/linux-x64/track/stable cd /usr/bin && tar -xzvf btsync.tar.gz && ...


0

I'm would recommend you this post: http://cartaslinux.wordpress.com/2012/09/08/apt-offline/ It works very well for me with those steps.


3

The clean line tells apt-mirror which directories it should check for files which are no longer present in the parent mirror (and so can be deleted). It is not compulsory, but it is good practice for large, regularly updated mirrors. For your particular case (mirror of EOL release), you don't need a clean line, since the EOL mirror is never going to ...


0

Ubuntu 12.10 Version (Quantal Quetzal ) has limited update support till May 2014. Therefor the repositories are not available for the requested update request. Regarding Chrome, probably you are trying to run newer version of Chrome which needs newer versions of lib files that cannot be found in 12.10 version. I recommend to download Long Term Support ...


0

I already solve the problem by using another repository : sudo add-apt-repository ppa:jmou/ppa sudo apt-get update sudo apt-get install gimp


0

To set apt-get proxy open /etc/apt/apt.conf and add this line to the bottom of file. Acquire::http::Proxy "http://yourproxyaddress:proxyport"; Or if you need a username and Password: Acquire::http::Proxy "http://USERNAME:PASSWORD@yourproxyaddress:proxyport"; To set system wide proxy (not just apt) open ~/.bashrc and add this to the bottom of file. ...


0

Sometimes, all you need to do is just switch to the main server for updates. Updates, depending on your geographical area, sometimes don't come from the main servers for faster deliveries. For whatever reasons, the relay servers might not be responding as quick as possible to certain requests, so temporarily switching to Main Server for updates should fix ...


0

Slight change to this, helped me get it working especially in a amd64/i386 mixed environment. ** Instead of using the mount command I just permanently mounted the iso in /etc/fstab ** mount -t iso9660 -o loop /media/Disk1/debian-7.6.0-amd64-DVD-1.iso /media/dvd1-mountpoint mount -t iso9660 -o loop /media/Disk1/debian-7.6.0-amd64-DVD-1.iso ...


1

liblzma.so is already in Ubuntu (see /usr/lib/x86_64-linux-gnu/liblzma.so and /lib/x86_64-linux-gnu/liblzma.so.5.0.0, and you don;t need to recompile it. Unless you really need it, I recommend you remove all references to liblzma from /usr/local/lib.


0

i followed the depends packages till i reached this point Depends: gnome-settings-daemon-schemas (< 3.10) but 3.12.2-0ubuntu1~trusty3 is to be installed so i performed the following command that enabled me ti reinstall the ubuntu-desktop apt-get install gnome-settings-daemon-schemas=3.8.6.1-0ubuntu11.2 apt-get install ubuntu-desktop i ...



Top 50 recent answers are included