Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Ubuntu update bug fixes Daquan     - Linux unpack the tar file to a different directory (Linux)

- MongoDB, Cassandra, HBase transaction design strategy (Database)

- iTerm - let your command line can also be colorful (Linux)

- Linux asynchronous read documents by AIO (Programming)

- Linux compression and decompression command (Linux)

- shell script: a key to install LAMP, LNMP script (Server)

- CentOS 7 Change Hostname (Linux)

- Oracle local user login authentication fails ORA-01031 insufficient privileges (Database)

- JVM garbage collector and memory allocation strategy (Programming)

- Linux system Passwd file detailed analysis (Linux)

- Let Markdown code syntax highlighting and support Django1.6 (Linux)

- MongoDB Installation under CentOS 6.6 (Database)

- Changes in C # asynchronous programming model (Programming)

- ActiveMQ memory settings and flow control (Linux)

- Elasticsearch 2.20 Highlight (Server)

- Linux beginners to develop the seven habits (Linux)

- Unix average load average load calculation method (Server)

- Linux, modify the hostname (Linux)

- Linux process or thread is bound to a CPU (Programming)

- Oracle 11g RAC root.sh execution error second node failure example (Database)

 
         
  Ubuntu update bug fixes Daquan
     
  Add Date : 2018-11-21      
         
       
         
  In Ubuntu update, who have not met a mistake? In Ubuntu and other Linux distributions based on Ubuntu, the update error is a common error, but also a frequent occurrence. These errors appear in a variety of repair is also very simple. In this article, we will see in Ubuntu update error types occur frequently and their fixes.

The combined list of issues

When you run the update command in a terminal, you might encounter this error "combined list of errors", as follows:

E: Encountered a section with no Package: header,

E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.comubuntudistspreciseuniversebinary-i386Packages,

E: The package lists or status file could not be parsed or opened '.

You can use the following command to fix the error:

sudo rm -r / var / lib / apt / lists / *
sudo apt-get clean && sudo apt-get update
 

Download warehouse information -1 on failure

In fact, there are two types of storage information failed to download error. If your error looks like:

W: Failed to fetch bzip2: /var/lib/apt/lists/partial/in.archive.ubuntu.comubuntudistsoneiricrestrictedbinary-i386Packages Hash Sum mismatch,

W: Failed to fetch bzip2: /var/lib/apt/lists/partial/in.archive.ubuntu.comubuntudistsoneiricmultiversebinary-i386Packages Hash Sum mismatch,

E: Some index files failed to download They have been ignored, or old ones used instead.

Well, you can use the following command to repair:

sudo rm -rf / var / lib / apt / lists / *
sudo apt-get update
 

Download warehouse information failed -2

Download warehouse information Another type of failure is caused due to the PPA outdated. Typically, when you run the update manager and see an error

You can run sudo apt-get update to see which PPA update fails, you can remove it from the source list. You can follow this guide to repair screenshot Download warehouse information failed error.

Downloadable files failed error

A similar error is to download the package files failed error like this

The errors are easy to fix, simply modify the software source-based server. Go to the "software and updates", where you can modify the download server is the primary server

Partial update error

In the terminal run the update will be part of the update error:

Not all updates can be installed

Run a partial upgrade, to install as many updates as possible

Run the following command in a terminal to fix the error:

sudo apt-get install -f
 

An error occurred while loading shared libraries

The error is more installation errors, not the update error. If you try to install a program from source, you may encounter this error:

error while loading shared libraries:

can not open shared object file: No such file or directory

The error by running the following command in a terminal to fix:

sudo / sbin / ldconfig -v
You can find here an error occurred while loading a shared library for more detailed information.

 

Could not get lock / var / cache / apt / archives / lock

In another program while using APT, the error occurs. Suppose you are Ubuntu Software Center to install a thing, and then you try to run in a terminal apt.

E: Could not get lock / var / cache / apt / archives / lock - open (11: Resource temporarily unavailable)

E: Unable to lock directory / var / cache / apt / archives /

Generally, as long as you have all the other programs use apt off, the problem will be good. However, if the problem persists, you can use the following command:

sudo rm / var / lib / apt / lists / lock
If the above command does not work, you can try this command:

sudo killall apt-get
For more information about the error, you can be found here.

 

GPG error: The following signatures could not be verified

When you add a PPA, it may cause the following error GPG error: The following signatures could not be verified, which usually occurs in the terminal running update:

W: GPG error: http://repo.mate-desktop.org saucy InRelease: The following signatures could not be verified because the public key is not available: NO_PUBKEY 68980A0EA10B4DE8

We have to do, is to get the public system, to obtain information from the key number. In the above information, the key number is 68980A0EA10B4DE8. This key can be used as follows:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68980A0EA10B4DE8
After adding a key, run the update again no problem.

 

BADSIG error

Another signature-related update errors Ubuntu is BADSIG error, it looks like this:

W: A error occurred during the signature verification The repository is not updated and the previous index files will be used GPG error:.. Http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key

W: GPG error: http://ppa.launchpad.net precise Release:

The following signatures were invalid: BADSIG 4C1CBC1B69B0E2F4 Launchpad PPA for Jonathan French W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release

BADSIG To fix this error, use the following command in Terminal:

sudo apt-get clean
cd / var / lib / apt
sudo mv lists oldlist
sudo mkdir -p lists / partial
sudo apt-get clean
sudo apt-get update
This paper brings together you might encounter Ubuntu update error, I hope this will help you deal with these errors. Do you have encountered in Ubuntu update other wrong? Please tell me in the comments below, I will try to write a quick guide.
     
         
       
         
  More:      
 
- RedHat virtual machine to install VMware Tools (Linux)
- Bash job control (Linux)
- Java thread lifecycle (Programming)
- Linux System Getting Started Learning: Join cron job in Linux (Linux)
- CentOS installation pycurl (Linux)
- Analysis examples: Intrusion Response Linux platform Case (Linux)
- How to determine whether the Linux server was hacked (Linux)
- Deep understanding of C # generics (Programming)
- Google open source TCP team repaired the Linux kernel TCP flaw (Linux)
- 25 Git Advanced Skills (Linux)
- Installation and configuration to compile MySQL 5.6.10 under CentOS 5.9 (Database)
- Oracle 11R2 Grid Infrastructure execute root.sh script rootcrs.pl execution failed treatment (Database)
- Shell script to crawl through AWR SQL Report Problems (Database)
- CentOS Linux firewall configuration and Close (Linux)
- JavaScript in null undefined summary (Linux)
- To use Java arrays implement the order form (Programming)
- CentOS install expect (Linux)
- Linux Tutorial Share: How to sudo command to define the PATH environment variable (Linux)
- Ubuntu deployed under regular tasks with crontab (Linux)
- To install Xen in Ubuntu 12.04 (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.