How can I remove the Translation entries in apt?

1

Enable pipelining to batch these requests, which is much faster:

Acquire::http { Pipeline-Depth "200"; }

But in my experience it can result in broken downloads; http error codes seem to cascade or something. It should be safe enough if you are talking to apt-cacher-ng (either mirror mode or proxy mode). Otherwise, be prepared to disable it if your mirror breaks.

I would advise against setting languages to none, because it breaks apt-cache search (none means none, when useful searches would need descriptions in at least one language). The locale-based default includes unnecessary regional variants, but something like this:

Acquire::Languages { "fr"; "en"; };

is...

0 0
2

I have a NAS with a custom OpenMediaVault image that was developed by a Russian, so the translation packages were originally in Russian. However, I deleted "ru" from sources.list, so that it draws from the main Debian repository. I've also changed the system locale, removing Russian from the list, and keeping only the English locale.

However, when I run apt-get update, it feeds me both the English and Russian translations.

Example:

Hit http://ftp.debian.org wheezy/main Translation-en
Hit http://ftp.debian.org wheezy/main Translation-ru

I don't know if it's actually downloading Russian translations, but because it's a NAS and I'm trying to keep OS files to a minimum, I don't want any extra and unnecessary files.

Is there a way to exclude these; and if so, how?

[Edit: I've gone to /etc to nano locale.gen, and the Russian locale is properly commented out, while only the English locale is called upon. Continuing to poke...

0 0
3

I’ve noticed that recently, Debian-based distributions seem to be attempting to download a bazillion Translations Indexes from their repositories. Most of the these attempts seem to be either ignored, or fail, and sometimes it even seems to slow down the update download itself, presumably because it takes time for the repository server to time out the request.

Update : 2012-04-12 : This works fine in Debian Wheezy and Ubuntu Precise (12.04), but does not work in Ubuntu 11.10 – in fact it seems 11.10 ignores all variants of this directive. Thanks to ssta for the heads-up.

Possibly a waste of time for most users…

You can see this whilst updating the package repositories using apt-get update, update in aptitude, or updating the package list in Synaptic.

Personally, I find this behavior a bit annoying and wanted it to go away.

After a bit of research, I found out how to configure apt to stop looking for these, so here’s how…

1) Edit (or...

0 0
4

This is the output of aptitude update:

Ign http://archive.canonical.com natty InRelease Ign http://extras.ubuntu.com natty InRelease Ign http://dl.google.com stable InRelease Ign http://security.ubuntu.com natty-security InRelease Hit http://deb.torproject.org natty InRelease Get:1 http://dl.google.com stable Release.gpg [198 B] Ign http://us.archive.ubuntu.com natty InRelease Ign http://us.archive.ubuntu.com natty-updates InRelease Hit http://archive.canonical.com natty Release.gpg Hit http://extras.ubuntu.com natty Release.gpg Hit http://security.ubuntu.com natty-security Release.gpg Hit http://us.archive.ubuntu.com natty Release.gpg Hit http://security.ubuntu.com natty-security Release Hit http://archive.canonical.com natty Release Hit http://extras.ubuntu.com natty Release Get:2 http://dl.google.com stable Release [1,338 B] Hit http://us.archive.ubuntu.com natty-updates Release.gpg Hit http://security.ubuntu.com natty-security/main Sources Hit http://archive.canonical.com...
0 0
5

I installed a pae kernel on my Ubuntu 12.04 32-bit box in order to try it (I thought I would add RAM to my computer which I finaly didn't).

It automatically added an entry to grub's boot menu with the pae kernel, which is now the default one.

Now I don't use it any more (just gave it a try). Now every time I boot, I select "previous linux versions" in the boot menu, and then in the submenu I choose the first entry, which used to be the default one prior to installing the PAE kernel.

Now if I uninstall the kernel with apt-get remove (as I installed it with apt-get install), I obviously expect it to leave everything the way it was before: i.e., remove the corresponding item in the boot menu and restore the old one as the default.

The question is: will it do that? I want to be sure that I won't end up with an unbootable machine with an entry in the boot menu for a kernel that is uninstalled, causing grup to freak out or something, or (less disastrous but...

0 0
6

Uninstall translate

To remove just translate package itself from Ubuntu 12.04 (Precise Pangolin) execute on terminal:

sudo apt-get remove translate

Uninstall translate and it's dependent packages

To remove the translate package and any other dependant package which are no longer needed from Ubuntu Precise.

sudo apt-get remove --auto-remove translate

Purging translate

If you also want to delete configuration and/or data files of translate from Ubuntu Precise then this will work:

sudo apt-get purge translate

To delete configuration and/or data files of translate and it's dependencies from Ubuntu Precise then execute:

sudo apt-get purge --auto-remove translate

See Also

How to remove translate package from Ubuntu 12.04 (Precise...

0 0
7

Hi!

New to linux and mint! I was trying to configure the internet network connections settings so that my laptop (Mint 17.3) is able to connect through proxy in my university. After seeing several articles (espeically used this article), I realised I have to do two things -
(1) Set the proxy settings in /etc/environment file
(2) create a file called 95proxies in /etc/apt/apt.conf.d/ with the proxy settings

I did these and the computer was able to connect to internet through proxy. But when I connect to my home wifi, I realised the linux mint update manager is not able to check for updates as it is still trying to connect through proxies. For example, it shows - Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... elease.gpg Unable to connect to

To revert the changes,
(1) I went to /etc/environment file and commented out the entered lines (I commented by adding "#" at the beginning)
(2) I renamed 95proxies file to some junk name in...

0 0
8

Quick installation of translate:

Step 1: Update system:

sudo apt-get update

Step 2: Install: translate

Ater updaing the OS run following command to install the packae:

sudo apt-get install translate

How to install translate on Ubuntu 12.04 LTS?

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If translate is not installed on your compter then the command 'dpkg -L translate' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L translate Package `translate' is not installed. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents....
0 0
9

I have a thin VPS running Ubuntu 14.04 with automatic security updates. It has filled up the /boot partition with a lot of kernel updates. I am trying to remove the older ones, but I'm running into an "unmet" dependencies error demanding I fix another package before I can continue. Unfortunately, the unmet dependency wants to install a new kernel to the partition that is 100% full.

$ sudo apt-get remove [an old linux-image* package] 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: linux-image-extra-3.13.0-88-generic : Depends: linux-image-3.13.0-88-generic but it is not going to be installed linux-image-generic : Depends: linux-image-3.13.0-88-generic but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

With the partition full, there is no way I can apt-get...

0 0
10

WordPress is an award-winning web software, used by millions of webmasters worldwide for building their website or blog. SiteGround is proud to host this particular WordPress installation and provide users with multiple resources to facilitate the management of their WP websites:

Expert WordPress Hosting

SiteGround provides superior WordPress hosting focused on speed, security and customer service. We take care of WordPress sites security with unique server-level customizations, WP auto-updates, and daily backups. We make them faster by regularly upgrading our hardware, offering free CDN with Railgun and developing our SuperCacher that speeds sites up to 100 times! And last but not least, we provide real WordPress help 24/7! Learn more about SiteGround WordPress hosting

WordPress tutorial and knowledgebase articles

WordPress is considered an easy to work with software. Yet, if you are a beginner you might need some help, or you might be looking for...

0 0
11

Removing Locales

Debian includes several locales and translations in its default installation. Typically, we need very few of them, mostly just one! Here is how I removed unused locales and translations from my Debian Wheezy installation. This should apply to Sid too, but I have not verified it. The following steps should be executed as root.

Issue the command locale -a -v to see a full list of the locales currently installed. Should this list already match your requirement, you can skip the remainder of this section. Edit (or create) the file /etc/default/locale. Include the entries for your desired locale. My file looks as follows. # File generated by update-locale LANG=en_IN LANGUAGE="en_IN:en" Remove all the files in the directory /usr/lib/locale.Now, regenerate the locales based on your default configuration.

Here is the sequence of steps.

> locale -a -v > vi /etc/default/locale > cd /usr/lib/locale > rm -fr * > locale-gen

Removing...

0 0
12

How To speed up apt-get update command on Debian, Ubuntu , Linux Mint or any other Debian based Linux distributions, read More to know. apt-get update downloads the files to cache at /var/cache/apt/archives . To speed up download we enable apt-get to update cache files in parallel that is download multiple files simultaneously. To allow parallel or simultaneous downloads create a file at /etc/apt/apt.conf.d, named. 99parallel

sudo gedit /etc/apt/apt.conf.d/99parallel

In the above created file 99parallel paste the following lines

APT::Acquire::Queue-Mode "access";
APT::Acquire::Retries 3;

Now we can test the speed by executing sudo apt-get update

Now apt opens one connection per server in parallel , this speeds up downloading files to apt cache.
This method we can improve downloading apt cache files without any extra software or script. There are scripts available to speed up apt download like apt-fast script which i will write about...

0 0