Jump to content

update source database in rpmdrake


baudolino
 Share

Recommended Posts

I tried (as root) urmpi.update -a . Same error.

from

man urpmi.update

NAME

      urpmi.update - Updates packages list for specified medias

 

SYNOPSIS

      urpmi.update [options] [<names>]

 

DESCRIPTION

      urpmi.update scans all the <names> media to update their packages list.

      Usefull for ftp location for example.

 

      <names> is a list of name you first told to urpmi.addmedia

 

OPTIONS

      --wget use wget only for downloading distant files. By default curl  is

             used if available or wget instead.

 

      --curl use  curl only for downloading distant files. By default curl is

             used if available or wget instead.

 

      -a     Select all media that are not using a removable device to update

             them.

 

      -c     Clean /var/cache/urpmi/headers directory on exit.

 

      -d     Force    complete    computation    of    (not   used   anymore)

             /var/lib/urpmi/depslist.ordered file.

 

      -f     Force rebuild of hdlist files or base files (/var/lib/urpmi/dep-

             slist.ordered,            /var/lib/urpmi/provides            and

             /var/lib/urpmi/compss).

You were telling urpmi not to update you CD's. If you look at /var/lb/urpmi, you'll see something like;

list.Installation CD 1 (x86) (cdrom1)

list.Installation CD 2 (x86) (cdrom2)

list.International CD (x86) (cdrom3)

list.Texstar

list.contrib

list.cooker

list.plf

list.update_source

 

so if you want to update CD 1, run

urpmi.update Installation CD 1

if Texstar

urpmi.update Texstar

 

 

Another thing to look at is

/var/lib/rpm

when no rpm process is running and see if there are any _db.0 files. If there are, delete them and run

rpm --rebuilddb

 

man urpmi

man urpmi.addmedia

man urpmi.update

man urpmi.removemedia

man autoirpm

man gurpmi

man urpmf (*use this*)

man urpmq

man rpmdrake

man rpm

 

In X run mcc>Software Management>Software Sources Manager. You could always remove the CD sources and add them again.

Link to comment
Share on other sites

Thanks for your help!

I successfully updated the source database for my installation CDs.

One more question. I was unable to find the manual page for gurpmi, autoirpm and rpmdrake.

[baudolino]$ man rpmdrake

No manual entry for rpmdrake

[baudolino]$

 

"info rpmdrake"' sends me to the top directory of info.

Please let me know where to find these manuals.

 

baudolino

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...