Re: installation of my own rpm in a Fedora without internet

2011-02-22 Thread seth vidal
On Tue, 2011-02-22 at 09:29 -0300, Domingo Becker wrote:
 2011/2/19 Dominic Hopf dma...@googlemail.com:
 
  I think that a just installed Fedora box should have the ability to
  install software from an usb stick without the need of an internet
  connection.
 
  Think about a computer with F14 for managing something in a place
  without internet connection (I have several cases like this).
 
  Is there a way to do this?
 
  I usually do this with
 
   yum localinstall file.rpm
 
 
 This command doesn't work.
 
 [usuario@computadora ~]$ su -c 'yum localinstall --nogpg
 servbce-2.6.1-2.fc13.i686.rpm '
 Contraseña:
 Complementos cargados:langpacks, presto, refresh-packagekit
 Adding es_ES to language list
 Configurando el proceso de instalación local de paquetes
 Examinando servbce-2.6.1-2.fc13.i686.rpm: servbce-2.6.1-2.fc13.i686
 Marcando servbce-2.6.1-2.fc13.i686.rpm para ser instalado
 Error: Cannot retrieve repository metadata (repomd.xml) for
 repository: fedora. Please verify its path and try again
 [usuario@computadora ~]$
 
 
 

yum --disablerepo='*' --nogpg install file.rpm

-sv


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: installation of my own rpm in a Fedora without internet

2011-02-20 Thread Matej Cepl
Dne 20.2.2011 06:32, seth vidal napsal(a):
 yum has more info and tracks more stuff than rm does

... just love this typo (is it a Freudian slip leaking Seth's opinion on
rpm?) :)

Matěj
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: installation of my own rpm in a Fedora without internet

2011-02-20 Thread Till Maas
On Sat, Feb 19, 2011 at 07:53:33PM -0300, Domingo Becker wrote:
 2011/2/19 Till Maas opensou...@till.name:

  You can try this to install rpms from the local directory:
  yum --disablerepo=\* install ./*.rpm

 The command I always use is
 
 yum install --nogpg my-own.rpm another.rpm
 
 I don't remember now the exact error message. It was a depmod.xml file
 was missing for Fedora repo or something.

Above command will most likely avoid this error which results from
repositories being enabled that yum has no or not enough data for.

Regards
Till


pgpmhdNzNONmC.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: installation of my own rpm in a Fedora without internet

2011-02-20 Thread Till Maas
On Sat, Feb 19, 2011 at 04:26:55PM +0100, Dominic Hopf wrote:

   yum localinstall file.rpm

install does the same as localinstall nowadays when a filename is given
as a parameter afaik.

Regards
Till


pgp06flTaBo6h.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: installation of my own rpm in a Fedora without internet

2011-02-20 Thread seth vidal
On Sun, 2011-02-20 at 12:20 +0100, Matej Cepl wrote:
 Dne 20.2.2011 06:32, seth vidal napsal(a):
  yum has more info and tracks more stuff than rm does
 
 ... just love this typo (is it a Freudian slip leaking Seth's opinion on
 rpm?) :)
 

No, it is not. rpm is essential to everything yum does. However, b/c of
the way our distro is created yum is essential to getting packages
installed sensibly and tracking those packages.

-sv


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: installation of my own rpm in a Fedora without internet

2011-02-20 Thread Matej Cepl
Dne 20.2.2011 16:40, seth vidal napsal(a):
 No, it is not. rpm is essential to everything yum does. However, b/c of
 the way our distro is created yum is essential to getting packages
 installed sensibly and tracking those packages.

Just to make it obvious ... I was kidding, I know rpm is essential to
you. I have just cannot resist. Sorry.

matěj

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: installation of my own rpm in a Fedora without internet

2011-02-19 Thread Dominic Hopf
Am Samstag, den 19.02.2011, 11:44 -0300 schrieb Domingo Becker:
 I was in a situation a couple of days ago, in which I was setting up
 some Fedora 14 desktops and I tried to install my software from rpms
 in an usb stick.
 
 For some external reason, the internet connection was down, and after
 installing F14, setting up the appropriate firewall rules and selinux
 booleans and file contexts, I tried to install my software from the
 rpms and it failed because it couldn't get information about the
 Fedora repo.
 
 I think that a just installed Fedora box should have the ability to
 install software from an usb stick without the need of an internet
 connection.
 
 Think about a computer with F14 for managing something in a place
 without internet connection (I have several cases like this).
 
 Is there a way to do this?

I usually do this with

  yum localinstall file.rpm

Regards,
Dominic

-- 
Dominic Hopf dma...@googlemail.com
http://dominichopf.de/

Key Fingerprint: A7DF C4FC 07AE 4DDC 5CA0 BD93 AAB0 6019 CA7D 868D


signature.asc
Description: This is a digitally signed message part
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: installation of my own rpm in a Fedora without internet

2011-02-19 Thread Domingo Becker
2011/2/19 Dominic Hopf dma...@googlemail.com:

 I usually do this with

  yum localinstall file.rpm


Thank you, I'll try that.
I have to install some F14 on monday.

k.r.

Domingo Becker
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: installation of my own rpm in a Fedora without internet

2011-02-19 Thread Till Maas
On Sat, Feb 19, 2011 at 11:44:48AM -0300, Domingo Becker wrote:

 I think that a just installed Fedora box should have the ability to
 install software from an usb stick without the need of an internet
 connection.

You can try this to install rpms from the local directory:
yum --disablerepo=\* install ./*.rpm

Btw. a proper bug report requires a description of what you actually
did, e.g. which software did you use to install and what was the excact
error message. From what I can see here, above command works without any
problems. And rpm would work without a network connection, too.

Regards
Till


pgpByer6izyzd.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: installation of my own rpm in a Fedora without internet

2011-02-19 Thread drago01
On Sat, Feb 19, 2011 at 3:44 PM, Domingo Becker domingobec...@gmail.com wrote:
 I was in a situation a couple of days ago, in which I was setting up
 some Fedora 14 desktops and I tried to install my software from rpms
 in an usb stick.

 For some external reason, the internet connection was down, and after
 installing F14, setting up the appropriate firewall rules and selinux
 booleans and file contexts, I tried to install my software from the
 rpms and it failed because it couldn't get information about the
 Fedora repo.

 I think that a just installed Fedora box should have the ability to
 install software from an usb stick without the need of an internet
 connection.

 Think about a computer with F14 for managing something in a place
 without internet connection (I have several cases like this).

 Is there a way to do this?

rpm -Uhv *.rpm
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: installation of my own rpm in a Fedora without internet

2011-02-19 Thread Ben Boeckel
drago01 drag...@gmail.com wrote:
 rpm -Uhv *.rpm

I'd use this as a last resort. Now that yum keeps track of things on its
own, going behind its back loses things like yum history and other
nicities.

--Ben

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: installation of my own rpm in a Fedora without internet

2011-02-19 Thread Domingo Becker
2011/2/19 Till Maas opensou...@till.name:
 On Sat, Feb 19, 2011 at 11:44:48AM -0300, Domingo Becker wrote:

 I think that a just installed Fedora box should have the ability to
 install software from an usb stick without the need of an internet
 connection.

 You can try this to install rpms from the local directory:
 yum --disablerepo=\* install ./*.rpm


I will try this too.
But next monday or tuesday.

 Btw. a proper bug report requires a description of what you actually
 did, e.g. which software did you use to install and what was the excact
 error message.

Sorry, my software is at [1] and [2], both are GPLv3 license.

The command I always use is

yum install --nogpg my-own.rpm another.rpm

I don't remember now the exact error message. It was a depmod.xml file
was missing for Fedora repo or something.

[1] http://bce.no-ip.org/wiki/index.php/BCE

[2] http://bce.no-ip.org/wiki/index.php/Servidor_BCE

Thank you.

k.r.

Domingo Becker
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: installation of my own rpm in a Fedora without internet

2011-02-19 Thread Domingo Becker
2011/2/19 Ben Boeckel maths...@gmail.com:
 drago01 drag...@gmail.com wrote:
 rpm -Uhv *.rpm

 I'd use this as a last resort. Now that yum keeps track of things on its
 own, going behind its back loses things like yum history and other
 nicities.


Do I loose ABRT support if I use rpm -Uhv ?

ABRT is important for me.

k.r.

Domingo Becker
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: installation of my own rpm in a Fedora without internet

2011-02-19 Thread seth vidal
On Sat, 2011-02-19 at 19:55 -0300, Domingo Becker wrote:
 2011/2/19 Ben Boeckel maths...@gmail.com:
  drago01 drag...@gmail.com wrote:
  rpm -Uhv *.rpm
 
  I'd use this as a last resort. Now that yum keeps track of things on its
  own, going behind its back loses things like yum history and other
  nicities.
 
 
 Do I loose ABRT support if I use rpm -Uhv ?
 
 ABRT is important for me.
 

No, you don't lose ABRT support.

-sv


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: installation of my own rpm in a Fedora without internet

2011-02-19 Thread seth vidal
On Sat, 2011-02-19 at 19:26 +, Ben Boeckel wrote:
 drago01 drag...@gmail.com wrote:
  rpm -Uhv *.rpm
 
 I'd use this as a last resort. Now that yum keeps track of things on its
 own, going behind its back loses things like yum history and other
 nicities.

Thank you - yes the above is very true.

yum has more info and tracks more stuff than rm does and I would
encourage folks to use the direct rpm command only as a last resort for
pkg transactions.

-sv


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel