Koozali.org: home of the SME Server

Cannot find a valid baseurl for repo: base

Offline Adreamus

  • *
  • 21
  • +0/-0
Re: Cannot find a valid baseurl for repo: base
« Reply #15 on: February 21, 2010, 10:28:55 PM »
mhm wget funktioniert nicht...

Quote
[root@soervaer ~]# wget http://www.snetram.nl/rpm.tgz -O /tmp/rpm-new.tgz
--22:28:03--  http://www.snetram.nl/rpm.tgz
           => `/tmp/rpm-new.tgz'
Aufl�sen des Rechnernamens 'www.snetram.nl'.... 85.146.178.99
Verbindungsaufbau mit www.snetram.nl[85.146.178.99]:80... verbunden.
HTTP-Anfrage gesendet, warte auf Antwort... 404 Not Found
22:28:03 FEHLER 404: Not Found.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Cannot find a valid baseurl for repo: base
« Reply #16 on: February 21, 2010, 10:30:42 PM »
mhm wget funktioniert nicht...
Vielleicht zu schnell... versuch bitte nochmahls.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Adreamus

  • *
  • 21
  • +0/-0
Re: Cannot find a valid baseurl for repo: base
« Reply #17 on: February 21, 2010, 10:38:21 PM »
hehe ich war zu schnell :D

jippi danke hat funktioniert:

Quote
[root@soervaer ~]# tar czf /tmp/rpm-backup.tgz /var/lib/rpm/*
tar: Removing leading `/' from member names
[root@soervaer ~]# wget http://www.snetram.nl/rpm.tgz -O /tmp/rpm-new.tgz
--22:31:10--  http://www.snetram.nl/rpm.tgz
           => `/tmp/rpm-new.tgz'
Aufl�sen des Rechnernamens 'www.snetram.nl'.... 85.146.178.99
Verbindungsaufbau mit www.snetram.nl[85.146.178.99]:80... verbunden.
HTTP-Anfrage gesendet, warte auf Antwort... 200 OK
L�nge: 9.439.692 (9.0M) [text/plain]

100%[===================================================================================================================================================================>] 9.439.692     91.61K/s    ETA 00:00

22:32:54 (88.62 KB/s) - '/tmp/rpm-new.tgz' gespeichert [9439692/9439692]

[root@soervaer ~]# rm -rf /var/lib/rpm/*
[root@soervaer ~]# tar xzf /tmp/rpm-new.tgz

und danach:

Quote
[root@soervaer /]# yum check-update
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up repositories
smeaddons                 100% |=========================| 1.9 kB    00:00     
smeextras                 100% |=========================| 1.9 kB    00:00     
base                      100% |=========================| 1.1 kB    00:00     
updates                   100% |=========================|  951 B    00:00     
smeos                     100% |=========================| 1.9 kB    00:00     
smeupdates                100% |=========================| 1.9 kB    00:00     
Determining fastest mirrors
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  184 B    00:00     
primary.xml.gz            100% |=========================|  18 kB    00:00     
smeextras : ################################################## 55/55
primary.xml.gz            100% |=========================| 611 kB    00:00     
base      : ################################################## 1599/1599
primary.xml.gz            100% |=========================| 201 kB    00:00     
updates   : ################################################## 646/646
primary.xml.gz            100% |=========================| 265 kB    00:00     
smeos     : ################################################## 543/543
primary.xml.gz            100% |=========================| 127 kB    00:00     
smeupdates: ################################################## 221/221
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished

mysql.i386                               4.1.22-2.el4_8.3       updates         
mysql-server.i386                        4.1.22-2.el4_8.3       updates         
[root@soervaer /]#

Vielen dank dir! Woran der Fehler jetzt lag weißt du aber nicht, oder?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Cannot find a valid baseurl for repo: base
« Reply #18 on: February 21, 2010, 11:00:05 PM »
Vielen dank dir! Woran der Fehler jetzt lag weißt du aber nicht, oder?
Vielleicht in die erste schritte die du gemacht hattest. Gut um zu hören das es wieder in Ordnung ist.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Cannot find a valid baseurl for repo: base
« Reply #19 on: February 23, 2010, 06:49:34 PM »
Versuch mahl volgendes:
Code: [Select]
tar czf /tmp/rpm-backup.tgz /var/lib/rpm/*
wget http://www.snetram.nl/rpm.tgz -O /tmp/rpm-new.tgz
rm -rf /var/lib/rpm/*
tar xzf /tmp/rpm-new.tgz

The above sounds quite dangerous - that is transplanting the catalog of rpms installed on your machine onto his. The rpm database is unlikely to be valid in its new home.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Cannot find a valid baseurl for repo: base
« Reply #20 on: February 23, 2010, 07:09:37 PM »
The above sounds quite dangerous - that is transplanting the catalog of rpms installed on your machine onto his. The rpm database is unlikely to be valid in its new home.
Therefore I provided a database from a vanilla SME Server 7.4, might not be the best solution, but in this case it proofed to be working. There was a reason why I first let OP create a backup.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)