Problem installing with apt-get

Reinhard Hnat hnat at logotronic.co.at
Thu Jan 13 10:28:01 UTC 2011


Am 2011-01-13 11:14, schrieb Colin Law:
> On 13 January 2011 10:00, Reinhard Hnat<hnat at logotronic.co.at>  wrote:
>> Am 2011-01-13 10:24, schrieb Scott Stevenson:
>>> On Thu, Jan 13, 2011 at 09:57:19AM +0100, Reinhard Hnat wrote:
>>>> I have an Ubuntu Server 8.04 and tried to install tomcat6 with the
>>>> following result:
>>>>
>>>> root at Mendelsson:/etc# apt-get install tomcat6
>>>> Paketlisten werden gelesen... Fertig
>>>> Abhängigkeitsbaum wird aufgebaut
>>>> Reading state information... Fertig
>>>> E: Konnte Paket tomcat6 nicht finden   (means "could not find packet
>>>> tomcat6")
>>>>
>>>> Installing for example Java with the same procedure works perfectly.
>>>> What could be the cause?
>>> Do you have the necessary repository in /etc/sources/apt.list? tomcat6
>>> (6.0.18-0ubuntu3.2~hardy1) is in the universe component of the backports
>>> repository for 8.04 [1].
>>>
>>> [1] http://packages.ubuntu.com/hardy-backports/allpackages
>>>
>> I found this two lines in apt.list:
>>   deb http://at.archive.ubuntu.com/ubuntu/ hardy-backports main restricted
>> universe multiverse
>>   deb-src http://at.archive.ubuntu.com/ubuntu/ hardy-backports main
>> restricted universe multiverse
>> uncommenting it did not change anything.
> Did you remember to do
> sudo apt-get update
> after uncommenting?
>
> Colin
>
Thanks! You are right. I forgot. Now it works.

R.Hnat





More information about the ubuntu-users mailing list