Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Problem installing with apt-get (http://www.linux-archive.org/ubuntu-user/475938-problem-installing-apt-get.html)

Reinhard Hnat 01-13-2011 09:00 AM

Problem installing with apt-get
 
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@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.

R.Hnat



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Colin Law 01-13-2011 09:14 AM

Problem installing with apt-get
 
On 13 January 2011 10:00, Reinhard Hnat <hnat@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@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

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Reinhard Hnat 01-13-2011 09:28 AM

Problem installing with apt-get
 
Am 2011-01-13 11:14, schrieb Colin Law:

On 13 January 2011 10:00, Reinhard Hnat<hnat@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@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


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 09:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.