Cannot apply updates

Asked by Harold Heinbaugh

System cannot invoke "update manager". Error reports:

Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Opening /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_crossover-trial_ubuntu.list - ifstream::ifstream (13: Permission denied)'

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Harold Heinbaugh
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

ls -la /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_crossover-trial_ubuntu.list; echo; lsb_release -a

Thanks

Revision history for this message
Harold Heinbaugh (hheinbaugh2) said :
#2

-rw-r----- 1 root admin 190 Jul 24 07:36 /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_crossover-trial_ubuntu.list

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
bud@bud-Latitude-D530:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Normally the source lists have protection settings "-rw-r--r-- 1 root root".
Your problem might be related to bug #923390

I recommend changing that by opening a terminal window (ctl-alt-t) and issuing the following commands:

sudo chown root:root /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_crossover-trial_ubuntu.list
sudo chmod 644 /etc/apt/sources.list.d/private-ppa.launchpad.net_commercial-ppa-uploaders_crossover-trial_ubuntu.list

then issue the command
ls -l /etc/apt/sources.list.d
to check if all files have correct settings and try starting update-manager again.

Revision history for this message
Harold Heinbaugh (hheinbaugh2) said :
#4

Thank you for your complete answer.