red circle error can not open synaptic or software center
hi followed a link and these sets of questions, few typos but corrected them. please help!
lisa@lisa:~$ ubuntu-
Traceback (most recent call last):
File "/usr/bin/
cache = apt.Cache()
File "/usr/lib/
self.
File "/usr/lib/
self._cache = apt_pkg.
SystemError: W:Ignoring file 'playonlinu.,list' in directory '/etc/apt/
lisa@lisa:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for lisa:
lisa@lisa:~$ grep proxy /etc/enviroment
grep: /etc/enviroment: No such file or directory
lisa@lisa:~$ grep proxy /etc/environment
lisa@lisa:~$ echo $http_proxy
lisa@lisa:~$ echo $ftp_proxy
lisa@lisa:~$ grep proxy /etc/bash.bashrc
lisa@lisa:~$ grep proxy ~/.bashrc
lisa@lisa:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
lisa@lisa:~$ sudo fuser -vvv /var/cache/
lisa@lisa:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
lisa@lisa:~$ uname -a
Linux lisa 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:40:43 UTC 2013 i686 i686 i386 GNU/Linux
lisa@lisa:~$ sudo rm /var/lib/
lisa@lisa:~$ sudo rm /var/cache/
lisa@lisa:~$ sudo rm /var/lib/dpkg/lock
lisa@lisa:~$ sudo cp -arf /vaar/lib/dpkg /var/lib/
cp: cannot stat `/vaar/lib/dpkg': No such file or directory
lisa@lisa:~$ sudo cp -arf /var/lib/dpkg /var/lib/
lisa@lisa:~$ sudo mv /var/lib/
mv: cannot stat `/var/lib/
lisa@lisa:~$ sudo mv /var/lib/
mv: cannot move `/var/lib/
lisa@lisa:~$ sudo mv /var/lib/
lisa@lisa:~$ sudo cp /var/lib/
lisa@lisa:~$ sudo rm -rf /var/lib/
lisa@lisa:~$ sudo rm -rf /var/lib/apt/lists
lisa@lisa:~$ sudo rm -rf /var/cache/
lisa@lisa:~$ sudo mkdir /var/lib/apt/lists
lisa@lisa:~$ sudo mkdir /var/lib/
lisa@lisa:~$ LANG=C;sudo apt-get clean
lisa@lisa:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Error!
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/
E: Type '--2014-01-11' is not known on line 1 in source list /etc/apt/
E: The list of sources could not be read.
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
lisa@lisa:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Error!
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
lisa@lisa:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/
E: Type '--2014-01-11' is not known on line 1 in source list /etc/apt/
E: The list of sources could not be read.
lisa@lisa:~$ sudo dpkg --configure -a
dpkg: error: failed to open package info file `/var/lib/
lisa@lisa:~$ sudo dpkg --clear-avail
lisa@lisa:~$ LANG=C;sudo apt-get -f
apt 0.8.16~
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]
apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.
Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
autoremove - Remove automatically all unused packages
purge - Remove packages and config files
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
changelog - Download and display the changelog for the given package
download - Download the binary package into the current directory
Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to correct a system with broken dependencies in place
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-V Show verbose version numbers
-c=? Read this configuration file
-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
lisa@lisa:~$ LANG=C;sudo apt-get -f install
Reading package lists... Error!
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
lisa@lisa:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Error!
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
lisa@lisa:~$ LANG=C;sudo apt-get update -o APT::Cache-
N: Ignoring file 'playonlinu.,list' in directory '/etc/apt/
E: Type '--2014-01-11' is not known on line 1 in source list /etc/apt/
E: The list of sources could not be read.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- lisa
- Solved:
- Last query:
- Last reply:
This question was reopened
- by lisa