The following packages have unmet dependencies
user1@ubuntucse
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
clamav-daemon : Depends: clamav-base (= 0.96.3+
E: Broken packages
plzz... provide me with the solution...
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- marcobra (Marco Braida)
- Solved:
- Last query:
- Last reply:
This question was originally filed as bug #814577.
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
This is not a package bug, but a support question.
It looks like you have a mix of packages from maverick and maverick-updates. You need to make sure your package cache is updated (sudo apt-get update on a command line) and try again.
Revision history for this message
|
#2 |
thanks.... i did as u instructed.... but the following error is coming plzzzz help me to solve this......
root@ubuntucser
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package clamav-daemon needs to be reinstalled, but I can't find an archive for it.
???? plz tell me how to reinstall clamav-daemon
Revision history for this message
|
#3 |
Please try
sudo apt-get remove clamav*
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get -f install
sudo apt-get install clamav
Revision history for this message
|
#4 |
thankx.... sir...
i m providing u with the information how all commaneds worked...
root@ubuntucser
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package clamav-daemon needs to be reinstalled, but I can't find an archive for it.
root@ubuntucser
root@ubuntucser
Hit http://
Ign http://
Ign http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
root@ubuntucser
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package clamav-daemon needs to be reinstalled, but I can't find an archive for it.
root@ubuntucser
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package clamav-daemon needs to be reinstalled, but I can't find an archive for it.
root@ubuntucser
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package clamav-daemon needs to be reinstalled, but I can't find an archive for it.
root@ubuntucser
plzzz.... sir help me out with the error...... i will be very much thankfull to u....
Revision history for this message
|
#5 |
You have wrong mixed repositories so this is the cause of your issue...
Please open a terminal and type:
lsb_release -crd
to discover the codename of your Ubuntu, then replace it into the /etc/apt/
gksudo gedit /etc/apt/
change the wrong name references then save and exit and type:
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install clamav
Revision history for this message
|
#6 |
root@ubuntucser
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
where and what to change in that file....????
i have got the file ''/etc/
but i am totally unaware what to replace in that file..???
i m providing u with the source.list content plzz tell me what to change... and which words r to be replaced....
root@ubuntucser
(this is the file i got when i entered the above command.....)
#
# deb cdrom:[
# deb cdrom:[
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
Revision history for this message
|
#7 |
Please remove the rows:
deb http://
deb-src http://
Save and retry...
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install clamav
Revision history for this message
|
#8 |
As instructed by u i have removed those two rows from the ''source.list'' file
(u can see it here)
#
# deb cdrom:[
# deb cdrom:[
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://
deb-src http://
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://
# deb-src http://
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://
# deb-src http://
deb http://
deb-src http://
and after saving it i also tried to run the commands... given by u
user1@ubuntucse
user1@ubuntucse
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
user1@ubuntucse
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package clamav-daemon needs to be reinstalled, but I can't find an archive for it.
AND I ALSO TRIED THE COMMAND.... with APTITUDE
(here r the details)
user1@ubuntucse
The following partially installed packages will be configured:
clamav-daemon
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
E: I wasn't able to locate file for the clamav-daemon package. This might mean you need to manually fix this package.
E: I wasn't able to locate file for the clamav-daemon package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download
Revision history for this message
|
#9 |
First try to set your sources server (from update-manager) to use the main server... and retry...
if still don't works please
made a backup copy of your actual sources.list file and then
try to put some as my standard /etc/apt/
deb http://
deb http://
deb http://
deb http://
deb-src http://
deb http://
deb http://
I use Lucid i have clamav coming from:
apt-cache policy clamav
clamav:
Installato: 0.96.5+
Candidato: 0.96.5+
Tabella versione:
*** 0.96.5+
500 http://
500 http://
100 /var/lib/
0.
500 http://
apt-cache policy clamav-daemon
clamav-daemon:
Installato: (nessuno)
Candidato: 0.96.5+
Tabella versione:
0.
500 http://
500 http://
0.
500 http://
Revision history for this message
|
#10 |
Thanks marcobra (Marco Braida), that solved my question.