Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-26 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pierre Fortin wrote on Mon, Nov 25, 2002 at 09:42:29PM -0500 :
  
  Configuration is in /etc/urpmi.  Data is in /var/lib/urpmi.
 The file that seems to be interfering is
 hdlist.Updates for Mandrake Linux 8.2 (ftp1u).cz

If there's no definition for Updates for Mandrake Linux 8.2 (ftp1u) in
/etc/urpmi/urpmi.cfg, then just delete that file.  Note that users'
interpretation of errors is usually different from developers'
interpretation.  It's not an error if the program keeps running and
works properly, it's only a warning.  It's an error if the program
aborts (aka fatal).

  Use 'urpmi.removemedia name' instead.
 Well...  if I don't give a name, it complains about 8.2:
 # urpmi.removemedia
 unable to take medium Updates for Mandrake Linux 8.2 (ftp1u) into
 account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux
 8.2 (ftp1u)] exists
 the entry to remove is missing

grin  Anything in [ ... ] is optional.  Anything in  ...  is a
symbol to mean you have to adjust this to fit your own needs.

 # urpmi.removemedia Updates for Mandrake Linux 8.2 (ftp1u)
 unable to take medium Updates for Mandrake Linux 8.2 (ftp1u) into
 account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux
 8.2 (ftp1u)] exists
 trying to select inexistent medium Updates for Mandrake Linux 8.2
 (ftp1u)

This means that it doesn't exist in /etc/urpmi/urpmi.cfg.  So just
delete the file.  Again, this is just a warning message, it's not fatal.

Blue skies...   Todd
- -- 
| MandrakeSoft USA | Security is like an onion.  It's made |
| http://www.mandrakesoft.com  | made up of several layers and makes   |
| http://www.mandrakelinux.com | you cry.  --Howard Chu|
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-0.4mdk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE947w4lp7v05cW2woRAhUGAJ9y4XzOiU7fBzcH1oQzBtDI65ORmwCggg8n
KNIkcfhN4QyMfevoW1PLWZM=
=Jhpj
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-26 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jack Coates wrote on Mon, Nov 25, 2002 at 09:37:53PM -0800 :
  
  Configuration is in /etc/urpmi.  Data is in /var/lib/urpmi.
 I agree in principle, but I also feel that if this were truly the case,
 backing up and restoring /etc/urpmi/ or mailing someone an entry from
 /etc/urmpi/urpmi.cfg should be enough to get a working system.

If I email to you my /etc/httpd/conf/httpd.conf and commonhttpd.conf,
does that mean that you can serve all the same webpages as me?  No,
because I didn't send you all the data in /var/www/html.  The config is
just a config.  The data is just data.  The config ties the data to the
service, but if one exists without the other, it doesn't work properly.

Think of the data in /var/lib/urpmi/ as a flat file database.  My
concession is that the urpm tools should detect that there is a list
file but ho hdlist, it should offer to you the opportunity to properly
integrate it (ie download/update the missing files) and regen its
config.  The only problem is that it needs to have some sort of timeout
because many people (including myself) run these programs in scripts.
If there's no way I can tell it the info it needs, then it will not be
able to complete which means after a few days, my load average is at 50
or so and my machine dies.

Blue skies...   Todd
- -- 
   MandrakeSoft USA   http://www.mandrakesoft.com
Mandrake: An amalgam of good ideas from RedHat, Debian, and MandrakeSoft.
All in all, IMHO, an unbeatable combination.   --Levi Ramsey on Cooker ML
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-0.4mdk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9474Ulp7v05cW2woRAuSuAJ4l0pYqlUSdKFxn5G8t7OgwZqr5bgCguE2u
xfd/s5sNcFMrQZytAgI6xYM=
=AY8D
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-26 Thread Pierre Fortin
On Tue, 26 Nov 2002 10:23:52 -0800 Todd Lyons [EMAIL PROTECTED]
wrote:

  Note that users'
 interpretation of errors is usually different from developers'
 interpretation.  It's not an error if the program keeps running and
 works properly, it's only a warning.  It's an error if the program
 aborts (aka fatal).

OK Todd...  so how does this rate?  :^)

# urpmi 
/mnt/cdrom/Mandrake/RPMS2/libgdk_pixbuf2.0_0-devel-2.0.6-8mdk.i586.rpm
unable to take medium Updates for Mandrake Linux 8.2 (ftp1u) into
account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux
8.2 (ftp1u)] exists
To satisfy dependencies, the following packages are going to be installed
(5 MB):
glib-gettextize-2.0.6-2mdk.i586
libgdk_pixbuf2.0_0-devel-2.0.6-8mdk.i586
libglib2.0_0-devel-2.0.6-2mdk.i586
pkgconfig-0.12.0-2mdk.i586
Is this OK? (Y/n) y
Please insert the medium named Installation CD 1 (x86) (cdrom1) on
device [/dev/hdc]
Press Enter when ready...
Installation failed, some files are missing.
You may want to update your urpmi database

Must be another one of those disappearing acts -- yesterday, after CD2 was
in the drive for a while, a ls /mnt/cdrom only returned Boot/ (no
Mandrake/)...

# rpm -qa | grep pixbuf
libgdk_pixbuf2.0_0-2.0.6-8mdk
gdk-pixbuf-loaders-0.18.0-3mdk
libgdk-pixbuf-xlib2-0.18.0-3mdk
libgdk-pixbuf2-0.18.0-3mdk
libgdk-pixbuf-gnomecanvas1-0.18.0-3mdk
libgdk-pixbuf2-devel-0.18.0-3mdk

Try again...

# urpmi 
/mnt/cdrom/Mandrake/RPMS2/libgdk_pixbuf2.0_0-devel-2.0.6-8mdk.i586.rpm
unable to take medium Updates for Mandrake Linux 8.2 (ftp1u) into
account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux
8.2 (ftp1u)] exists
To satisfy dependencies, the following packages are going to be installed
(5 MB):
glib-gettextize-2.0.6-2mdk.i586
libgdk_pixbuf2.0_0-devel-2.0.6-8mdk.i586
libglib2.0_0-devel-2.0.6-2mdk.i586
pkgconfig-0.12.0-2mdk.i586
Is this OK? (Y/n) y
installing
/mnt/cdrom/Mandrake/RPMS2/libgdk_pixbuf2.0_0-devel-2.0.6-8mdk.i586.rpm
/var/cache/urpmi/rpms/libglib2.0_0-devel-2.0.6-2mdk.i586.rpm
/var/cache/urpmi/rpms/pkgconfig-0.12.0-2mdk.i586.rpm
/var/cache/urpmi/rpms/glib-gettextize-2.0.6-2mdk.i586.rpm

Preparing...   
##
   1:pkgconfig 
##
   2:glib-gettextize   
##
   3:libglib2.0_0-devel
##
  
4:libgdk_pixbuf2.0_0-devel###
###

OK...  deleted the 8.2 file...  and tried to install some kde devel
stuff...

# urpmi /mnt/cdrom/M*/R*/kdegraphics-devel-3.0.3-11mdk.i586.rpm
The following packages have to be removed for others to be upgraded:
kdegraphics-3.0.3-11.1mdk
kdegraphics-devel-3.0.3-11.1mdk
do you agree ? (Y/n) y
To satisfy dependencies, the following packages are going to be installed
(5 MB):
kdegraphics-3.0.3-11mdk.i586
kdegraphics-devel-3.0.3-11mdk.i586
Is this OK? (Y/n) n

Looks like trying to up^H^Hdowngrade must be another user error...  no? 
:^)  At least the 8.2 error is gone -- thanks.

So far, I feel like I'm fighting 9.0 more than any previous version... 
then again, installing 8.2 and upgrading to 9.0 must've been a user
error...  :^)

Cheers,
Pierre



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-26 Thread Jack Coates
On Tue, 2002-11-26 at 10:31, Todd Lyons wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Jack Coates wrote on Mon, Nov 25, 2002 at 09:37:53PM -0800 :
   
   Configuration is in /etc/urpmi.  Data is in /var/lib/urpmi.
  I agree in principle, but I also feel that if this were truly the case,
  backing up and restoring /etc/urpmi/ or mailing someone an entry from
  /etc/urmpi/urpmi.cfg should be enough to get a working system.
 
 If I email to you my /etc/httpd/conf/httpd.conf and commonhttpd.conf,
 does that mean that you can serve all the same webpages as me?  No,
 because I didn't send you all the data in /var/www/html.  The config is
 just a config.  The data is just data.  The config ties the data to the
 service, but if one exists without the other, it doesn't work properly.
 
wget -R, bwah-hah-ha! Seriously, point taken and the concession below is
what I'm getting at -- in my experience, urpmi will fail to work
completely if there's a source in urpmi.cfg that isn't matched by a
hdlist in /var/lib/urpmi, and that's the problem. It should spit an
error to stdout and move on to the next entry instead of breaking with
status 1.

 Think of the data in /var/lib/urpmi/ as a flat file database.  My
 concession is that the urpm tools should detect that there is a list
 file but ho hdlist, it should offer to you the opportunity to properly
 integrate it (ie download/update the missing files) and regen its
 config.  The only problem is that it needs to have some sort of timeout
 because many people (including myself) run these programs in scripts.
 If there's no way I can tell it the info it needs, then it will not be
 able to complete which means after a few days, my load average is at 50
 or so and my machine dies.
 

That sort of behavior is a feature, right? :-) 

 Blue skies... Todd
 - -- 
MandrakeSoft USA   http://www.mandrakesoft.com
 Mandrake: An amalgam of good ideas from RedHat, Debian, and MandrakeSoft.
 All in all, IMHO, an unbeatable combination.   --Levi Ramsey on Cooker ML
Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-0.4mdk
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.1 (GNU/Linux)
 
 iD8DBQE9474Ulp7v05cW2woRAuSuAJ4l0pYqlUSdKFxn5G8t7OgwZqr5bgCguE2u
 xfd/s5sNcFMrQZytAgI6xYM=
 =AY8D
 -END PGP SIGNATURE-
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-26 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pierre Fortin wrote on Tue, Nov 26, 2002 at 03:20:45PM -0500 :
 
   Note that users'
  interpretation of errors is usually different from developers'
  interpretation.  It's not an error if the program keeps running and
  works properly, it's only a warning.  It's an error if the program
  aborts (aka fatal).
 OK Todd...  so how does this rate?  :^)

grin

 Please insert the medium named Installation CD 1 (x86) (cdrom1) on
 device [/dev/hdc]
 Press Enter when ready...
 Installation failed, some files are missing.
 You may want to update your urpmi database

supermount -i disable

Then manually mount and unmount CD's as you need them.  urpmi will take
care of the unmounting if it needs to change disks.

 So far, I feel like I'm fighting 9.0 more than any previous version... 
 then again, installing 8.2 and upgrading to 9.0 must've been a user
 error...  :^)

LOL.  It comes down to one thing not working well:  supermount.  If you
were to use the 8.2 update kernel, you might find that your cd problems
go away or become lessened.  Give it a shot.

Blue skies...   Todd
- -- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-0.4mdk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE94/KGlp7v05cW2woRAk0iAJ0V8/thE7tEKSub7M46URqxSey3VgCfRcXT
J/3IGxhG1ehdDch0YapmagE=
=opSM
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-25 Thread Jack Coates
On Mon, 2002-11-25 at 07:40, Pierre Fortin wrote:
 On my new ThinkPad, I first installed LM8.2, then *upgraded* to 9.0... 
 now, when I try to install additional s/w, urpmi fails; but MCC/SPI
 works...  what gives???  For example, I get the following response BOTH
 before and after a successful MCC/SPI install:
 
 # urpmi 
 /mnt/cdrom/Mandrake/RPMS2/libgdk_pixbuf2.0_0-devel-2.0.6-8mdk.i586.rpm
 unable to take medium Updates for Mandrake Linux 8.2 (ftp1u) into
 account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux
 8.2 (ftp1u)] exists
 unable to access rpm file
 [/mnt/cdrom/Mandrake/RPMS2/libgdk_pixbuf2.0_0-devel-2.0.6-8mdk.i586.rpm]
 error registering local packages
 
 Sure smells like the 9.0 upgrade missed a step...
 

did you delete the 8.2 entries from urpmi's config?

 Pierre
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-25 Thread Pierre Fortin
On 25 Nov 2002 09:37:51 -0800 Jack Coates [EMAIL PROTECTED] wrote:

 On Mon, 2002-11-25 at 07:40, Pierre Fortin wrote:
  On my new ThinkPad, I first installed LM8.2, then *upgraded* to 9.0...
  
  now, when I try to install additional s/w, urpmi fails; but MCC/SPI
  works...  what gives???  For example, I get the following response
  BOTH before and after a successful MCC/SPI install:
  
  # urpmi 
  /mnt/cdrom/Mandrake/RPMS2/libgdk_pixbuf2.0_0-devel-2.0.6-8mdk.i586.rpm
  unable to take medium Updates for Mandrake Linux 8.2 (ftp1u) into
  account as no list file [/var/lib/urpmi/list.Updates for Mandrake
  Linux 8.2 (ftp1u)] exists
  unable to access rpm file
  [/mnt/cdrom/Mandrake/RPMS2/libgdk_pixbuf2.0_0-devel-2.0.6-8mdk.i586.r
  pm] error registering local packages
  
  Sure smells like the 9.0 upgrade missed a step...
  
 
 did you delete the 8.2 entries from urpmi's config?

Shouldn't that have been done by 9.0...?  I've always done rpm -ivh
installs in the past... thought I'd try the other tools; but MCC gave me
grief, and now urpmi...  

My point is that with 9.0, Mandrake seems to be paying less attention to
those little details that will tick off the new users they're trying to
attract.  Don't get me wrong; I'm a strong Mandrake supporter; but at
least one release in every major release (since 6.x) are less new user
friendly than the others.  Hope 9.0 is the only one in the 9.x series...

Anyway, unless there is some implied version info, there is nothing
specifying version in this (unless I'm blind):

$ cat /etc/urpmi/urpmi.cfg
Installation\ CD\ 1\ (x86)\ (cdrom1) removable://mnt/cdrom/Mandrake/RPMS {
  hdlist: hdlist.Installation CD 1 (x86) (cdrom1).cz
  with_hdlist: ../base/hdlist1.cz
  list: list.Installation CD 1 (x86) (cdrom1)
  removable: /dev/hdc
}

Installation\ CD\ 2\ (x86)\ (cdrom2) removable://mnt/cdrom/Mandrake/RPMS2
{
  hdlist: hdlist.Installation CD 2 (x86) (cdrom2).cz
  with_hdlist: ../base/hdlist2.cz
  list: list.Installation CD 2 (x86) (cdrom2)
  removable: /dev/hdc
}

International\ CD\ (x86)\ (cdrom3) removable://mnt/cdrom/Mandrake/RPMS3 {
  hdlist: hdlist.International CD (x86) (cdrom3).cz
  with_hdlist: ../base/hdlist3.cz
  list: list.International CD (x86) (cdrom3)
  removable: /dev/hdc
}

disc\ 1\ Download\ Edition\ Installation\ CD\ (x86)\ (cdrom1)  {
  hdlist: hdlist.disc 1 Download Edition Installation CD (x86) (cdrom1).cz
  list: list.disc 1 Download Edition Installation CD (x86) (cdrom1)
  removable: /dev/hdc
  ignore
}

disc\ 2\ Download\ Edition\ Second\ Installation\ CD\ (x86)\ (cdrom2)  {
  hdlist: hdlist.disc 2 Download Edition Second Installation CD (x86)
(cdrom2).cz
  list: list.disc 2 Download Edition Second Installation CD (x86) (cdrom2)
  removable: /dev/hdc
  ignore
}

disc\ 3\ Download\ Edition\ Contributions\ CD\ (x86)\ (cdrom3)  {
  hdlist: hdlist.disc 3 Download Edition Contributions CD (x86)
(cdrom3).cz
  list: list.disc 3 Download Edition Contributions CD (x86) (cdrom3)
  removable: /dev/hdc
  ignore
}

disc\ 3\ Download\ Edition\ Contributions\ CD\ (x86)\ (cdrom4)  {
  hdlist: hdlist.disc 3 Download Edition Contributions CD (x86)
(cdrom4).cz
  list: list.disc 3 Download Edition Contributions CD (x86) (cdrom4)
  removable: /dev/hdc
  ignore
}

update_source  {
  hdlist: hdlist.update_source.cz
  with_hdlist: ../base/hdlist.cz
  list: list.update_source
  update
}

Thanks,
Pierre


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-25 Thread Jack Coates
On Mon, 2002-11-25 at 15:09, Pierre Fortin wrote:
 On 25 Nov 2002 09:37:51 -0800 Jack Coates [EMAIL PROTECTED] wrote:
snip 
  did you delete the 8.2 entries from urpmi's config?
 
 Shouldn't that have been done by 9.0...?  I've always done rpm -ivh
 installs in the past... thought I'd try the other tools; but MCC gave me
 grief, and now urpmi...  
 
snip
 
 Anyway, unless there is some implied version info, there is nothing
 specifying version in this (unless I'm blind):

One thing about urpmi that doesn't thrill me is that its configuration
is split between /etc/urpmi and /var/lib/urpmi and it's consequently
fairly difficult to configure without using a tool. If you look around
in /var/lib/urpmi you'll find that it has information about the contents
of the disks there, which is why you really should just delete the
entries for the 8.2 disks.

 
 $ cat /etc/urpmi/urpmi.cfg
 Installation\ CD\ 1\ (x86)\ (cdrom1) removable://mnt/cdrom/Mandrake/RPMS {
   hdlist: hdlist.Installation CD 1 (x86) (cdrom1).cz
   with_hdlist: ../base/hdlist1.cz
   list: list.Installation CD 1 (x86) (cdrom1)
   removable: /dev/hdc
 }
 
 Installation\ CD\ 2\ (x86)\ (cdrom2) removable://mnt/cdrom/Mandrake/RPMS2
 {
   hdlist: hdlist.Installation CD 2 (x86) (cdrom2).cz
   with_hdlist: ../base/hdlist2.cz
   list: list.Installation CD 2 (x86) (cdrom2)
   removable: /dev/hdc
 }
 
 International\ CD\ (x86)\ (cdrom3) removable://mnt/cdrom/Mandrake/RPMS3 {
   hdlist: hdlist.International CD (x86) (cdrom3).cz
   with_hdlist: ../base/hdlist3.cz
   list: list.International CD (x86) (cdrom3)
   removable: /dev/hdc
 }
 
 disc\ 1\ Download\ Edition\ Installation\ CD\ (x86)\ (cdrom1)  {
   hdlist: hdlist.disc 1 Download Edition Installation CD (x86) (cdrom1).cz
   list: list.disc 1 Download Edition Installation CD (x86) (cdrom1)
   removable: /dev/hdc
   ignore
 }
 
 disc\ 2\ Download\ Edition\ Second\ Installation\ CD\ (x86)\ (cdrom2)  {
   hdlist: hdlist.disc 2 Download Edition Second Installation CD (x86)
 (cdrom2).cz
   list: list.disc 2 Download Edition Second Installation CD (x86) (cdrom2)
   removable: /dev/hdc
   ignore
 }
 
 disc\ 3\ Download\ Edition\ Contributions\ CD\ (x86)\ (cdrom3)  {
   hdlist: hdlist.disc 3 Download Edition Contributions CD (x86)
 (cdrom3).cz
   list: list.disc 3 Download Edition Contributions CD (x86) (cdrom3)
   removable: /dev/hdc
   ignore
 }
 
 disc\ 3\ Download\ Edition\ Contributions\ CD\ (x86)\ (cdrom4)  {
   hdlist: hdlist.disc 3 Download Edition Contributions CD (x86)
 (cdrom4).cz
   list: list.disc 3 Download Edition Contributions CD (x86) (cdrom4)
   removable: /dev/hdc
   ignore
 }
 
 update_source  {
   hdlist: hdlist.update_source.cz
   with_hdlist: ../base/hdlist.cz
   list: list.update_source
   update
 }
 
 Thanks,
 Pierre
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-25 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jack Coates wrote on Mon, Nov 25, 2002 at 04:12:20PM -0800 :
  
  Anyway, unless there is some implied version info, there is nothing
  specifying version in this (unless I'm blind):
 One thing about urpmi that doesn't thrill me is that its configuration
 is split between /etc/urpmi and /var/lib/urpmi and it's consequently

Configuration is in /etc/urpmi.  Data is in /var/lib/urpmi.

 fairly difficult to configure without using a tool. If you look around

urpmi.{add,remove}media from the commandline 
or
MCC-SoftwareManagement-SoftwareSourcesManager

 in /var/lib/urpmi you'll find that it has information about the contents
 of the disks there, which is why you really should just delete the
 entries for the 8.2 disks.

Use 'urpmi.removemedia name' instead.

Blue skies...   Todd
- -- 
   MandrakeSoft USA   http://www.mandrakesoft.com
  cat /boot/vmlinuz  /dev/dsp  #for great justice
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-0.2mdk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE94s0Klp7v05cW2woRArWqAKClMnPEt91ihtTu2cK+6rv5nzufQQCgtyX7
7k1QHbZWl53fhPBwzPFczYY=
=JMAa
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-25 Thread Pierre Fortin
On Mon, 25 Nov 2002 17:23:22 -0800 Todd Lyons [EMAIL PROTECTED]
wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Jack Coates wrote on Mon, Nov 25, 2002 at 04:12:20PM -0800 :
   
   Anyway, unless there is some implied version info, there is nothing
   specifying version in this (unless I'm blind):
  One thing about urpmi that doesn't thrill me is that its configuration
  is split between /etc/urpmi and /var/lib/urpmi and it's consequently
 
 Configuration is in /etc/urpmi.  Data is in /var/lib/urpmi.

The file that seems to be interfering is
hdlist.Updates for Mandrake Linux 8.2 (ftp1u).cz

  fairly difficult to configure without using a tool. If you look around
 
 urpmi.{add,remove}media from the commandline 
 or
 MCC-SoftwareManagement-SoftwareSourcesManager

Yup...  the other day I deleted update_source to resolve this problem;
yet, here it is again in urpmi...  obviously that only solved my MCC
problem, not urpmi's...

  in /var/lib/urpmi you'll find that it has information about the
  contents of the disks there, which is why you really should just
  delete the entries for the 8.2 disks.
 
 Use 'urpmi.removemedia name' instead.

Well...  if I don't give a name, it complains about 8.2:
# urpmi.removemedia
unable to take medium Updates for Mandrake Linux 8.2 (ftp1u) into
account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux
8.2 (ftp1u)] exists
the entry to remove is missing
(one of Installation CD 1 (x86) (cdrom1), Installation CD 2 (x86)
(cdrom2), International CD (x86) (cdrom3), disc 1 Download Edition
Installation CD (x86) (cdrom1), disc 2 Download Edition Second
Installation CD (x86) (cdrom2), disc 3 Download Edition Contributions CD
(x86) (cdrom3), disc 3 Download Edition Contributions CD (x86) (cdrom4),
update_source)

Then, trying to remove the medium, either like this:
# urpmi.removemedia Updates for Mandrake Linux 8.2 (ftp1u)
unable to take medium Updates for Mandrake Linux 8.2 (ftp1u) into
account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux
8.2 (ftp1u)] exists
trying to select inexistent medium Updates for Mandrake Linux 8.2
(ftp1u)
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD
1 (x86) (cdrom1).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD
2 (x86) (cdrom2).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.International CD
(x86) (cdrom3).cz]
examining synthesis file
[/var/lib/urpmi/synthesis.hdlist.update_source.cz]

or, like this:
# urpmi.removemedia ftp1u
unable to take medium Updates for Mandrake Linux 8.2 (ftp1u) into
account as no list file [/var/lib/urpmi/list.Updates for Mandrake Linux
8.2 (ftp1u)] exists
trying to select inexistent medium ftp1u
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD
1 (x86) (cdrom1).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.Installation CD
2 (x86) (cdrom2).cz]
examining synthesis file [/var/lib/urpmi/synthesis.hdlist.International CD
(x86) (cdrom3).cz]
examining synthesis file
[/var/lib/urpmi/synthesis.hdlist.update_source.cz]

man urpmi.removemedia states:
   names is a list of names you first told to urpmi.addmedia
but, I never used urpmi.addmedia; Mdk did that...  all I did was format
the HD, install 8.2 and update it to 9.0...  so I don't know the magic
incantation that's expected...  the error gives me the feeling that the
tools won't help...

I tried moving the 8.2 file out of /var/lib/urpmi but that didn't help
either.

Pierre



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-25 Thread James Sparenberg
On Mon, 2002-11-25 at 16:12, Jack Coates wrote:
 On Mon, 2002-11-25 at 15:09, Pierre Fortin wrote:
  On 25 Nov 2002 09:37:51 -0800 Jack Coates [EMAIL PROTECTED] wrote:
 snip 
   did you delete the 8.2 entries from urpmi's config?
  
  Shouldn't that have been done by 9.0...?  I've always done rpm -ivh
  installs in the past... thought I'd try the other tools; but MCC gave me
  grief, and now urpmi...  
  
 snip
  
  Anyway, unless there is some implied version info, there is nothing
  specifying version in this (unless I'm blind):
 
 One thing about urpmi that doesn't thrill me is that its configuration
 is split between /etc/urpmi and /var/lib/urpmi and it's consequently
 fairly difficult to configure without using a tool. If you look around
 in /var/lib/urpmi you'll find that it has information about the contents
 of the disks there, which is why you really should just delete the
 entries for the 8.2 disks.

um don't forget /etc/urpmi/urpmi.cfg .. need to remove the
entries there or you will keep getting errors about not being able to
find disks when you are doing searches.  best method 

man urpmi.removemedia 


HOWEVER whatever you do do not ... repeat do not ,type
urpmi.removemedia and hit return (without any args)... this is a lot
like typing rm -Rf *  you never know what you will lose.  

James

 
  
  $ cat /etc/urpmi/urpmi.cfg
  Installation\ CD\ 1\ (x86)\ (cdrom1) removable://mnt/cdrom/Mandrake/RPMS {
hdlist: hdlist.Installation CD 1 (x86) (cdrom1).cz
with_hdlist: ../base/hdlist1.cz
list: list.Installation CD 1 (x86) (cdrom1)
removable: /dev/hdc
  }
  
  Installation\ CD\ 2\ (x86)\ (cdrom2) removable://mnt/cdrom/Mandrake/RPMS2
  {
hdlist: hdlist.Installation CD 2 (x86) (cdrom2).cz
with_hdlist: ../base/hdlist2.cz
list: list.Installation CD 2 (x86) (cdrom2)
removable: /dev/hdc
  }
  
  International\ CD\ (x86)\ (cdrom3) removable://mnt/cdrom/Mandrake/RPMS3 {
hdlist: hdlist.International CD (x86) (cdrom3).cz
with_hdlist: ../base/hdlist3.cz
list: list.International CD (x86) (cdrom3)
removable: /dev/hdc
  }
  
  disc\ 1\ Download\ Edition\ Installation\ CD\ (x86)\ (cdrom1)  {
hdlist: hdlist.disc 1 Download Edition Installation CD (x86) (cdrom1).cz
list: list.disc 1 Download Edition Installation CD (x86) (cdrom1)
removable: /dev/hdc
ignore
  }
  
  disc\ 2\ Download\ Edition\ Second\ Installation\ CD\ (x86)\ (cdrom2)  {
hdlist: hdlist.disc 2 Download Edition Second Installation CD (x86)
  (cdrom2).cz
list: list.disc 2 Download Edition Second Installation CD (x86) (cdrom2)
removable: /dev/hdc
ignore
  }
  
  disc\ 3\ Download\ Edition\ Contributions\ CD\ (x86)\ (cdrom3)  {
hdlist: hdlist.disc 3 Download Edition Contributions CD (x86)
  (cdrom3).cz
list: list.disc 3 Download Edition Contributions CD (x86) (cdrom3)
removable: /dev/hdc
ignore
  }
  
  disc\ 3\ Download\ Edition\ Contributions\ CD\ (x86)\ (cdrom4)  {
hdlist: hdlist.disc 3 Download Edition Contributions CD (x86)
  (cdrom4).cz
list: list.disc 3 Download Edition Contributions CD (x86) (cdrom4)
removable: /dev/hdc
ignore
  }
  
  update_source  {
hdlist: hdlist.update_source.cz
with_hdlist: ../base/hdlist.cz
list: list.update_source
update
  }
  
  Thanks,
  Pierre
  
  
  
 
  Want to buy your Pack or Services from MandrakeSoft? 
  Go to http://www.mandrakestore.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Upgraded 8.2-9.0: what got missed???

2002-11-25 Thread Jack Coates
On Mon, 2002-11-25 at 17:23, Todd Lyons wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Jack Coates wrote on Mon, Nov 25, 2002 at 04:12:20PM -0800 :
   
   Anyway, unless there is some implied version info, there is nothing
   specifying version in this (unless I'm blind):
  One thing about urpmi that doesn't thrill me is that its configuration
  is split between /etc/urpmi and /var/lib/urpmi and it's consequently
 
 Configuration is in /etc/urpmi.  Data is in /var/lib/urpmi.
 

I agree in principle, but I also feel that if this were truly the case,
backing up and restoring /etc/urpmi/ or mailing someone an entry from
/etc/urmpi/urpmi.cfg should be enough to get a working system.
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com