[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] Large Dependency List on Ubuntu Server 14



On Mon, Nov 03, 2014 at 03:54:32PM -0800, Joshua Padilla wrote:
> Forgive me if this is the wrong area to ask this question. I'm happy to
> inquire to a diff list if that's better.
> 
> From:
> 
> http://libguestfs.org/
> 
> "Downloads
> 
> For source see the downloads directory.
> 
> In Fedora or Red Hat Enterprise Linux:
> 
> sudo yum install libguestfs-tools
> On Debian/Ubuntu:
> 
> sudo apt-get install libguestfs-tools
> Open a disk image:
> 
> guestfish --ro -i -a disk.img
> Other distros, compiling from source ..."
> 
> 
> So on Ubunu Server 14:

What is 'Ubuntu Server 14'?  Is that 14.04?

Two things would help here:

(1) libguestfs >= 1.26 supports splitting out large dependencies like
GFS2/ZFS/...  Unfortunately 14.04 has libguestfs 1.24 which doesn't
support this, but later versions of Ubuntu have it.  For more
background on this see:

http://rwmj.wordpress.com/2014/03/20/analysis-of-the-size-of-libguestfs-dependencies/#content

(2) In Fedora we split the 'libguestfs-tools' package into:

 - libguestfs-tools-c : Contains just the tools written in C & OCaml.

 - libguestfs-tools : Depends on libguestfs-tools-c and contains the
   additional tools written in Perl.

 - virt-v2v : virt-p2v & virt-v2v have additional dependencies so I
   have packaged those separately.

This removes the need to depend on Perl packages in the common case
where you only want the main tools.

For more information see:

http://pkgs.fedoraproject.org/cgit/libguestfs.git/tree/libguestfs.spec#n1004
http://pkgs.fedoraproject.org/cgit/libguestfs.git/tree/libguestfs.spec#n1066
http://pkgs.fedoraproject.org/cgit/libguestfs.git/tree/libguestfs.spec#n1078

This is something to ask Hilko about.

Rich.

> ~:% sudo apt-get install libguestfs-tools
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   apt-xapian-index aptitude aptitude-common binutils btrfs-tools dosfstools
>   fontconfig-config ghostscript gsfonts icoutils jfsutils ldmtool
>   libauthen-sasl-perl libboost-iostreams1.54.0 libclass-accessor-perl
>   libconfig9 libcups2 libcupsfilters1 libcupsimage2 libcwidget3
>   libencode-locale-perl libept1.4.12 libfile-listing-perl libfont-afm-perl
>   libfontconfig1 libgs9 libgs9-common libguestfs-perl libguestfs0 libhivex0
>   libhtml-form-perl libhtml-format-perl libhtml-parser-perl
>   libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
>   libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
>   libhttp-negotiate-perl libijs-0.35 libintl-perl libio-html-perl
>   libio-socket-inet6-perl libio-socket-ssl-perl libio-string-perl libjbig0
>   libjbig2dec0 libjson-glib-1.0-0 libjson-glib-1.0-common liblcms2-2
>   libldm-1.0-0 liblwp-mediatypes-perl liblwp-protocol-https-perl liblzo2-2
>   libmailtools-perl libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl
>   libnetpbm10 libpaper-utils libpaper1 libparse-debianchangelog-perl
>   libsigc++-2.0-0c2a libsocket6-perl libstring-shellquote-perl
>   libsub-name-perl libsys-virt-perl libtiff5 libtimedate-perl liburi-perl
>   libwin-hivex-perl libwww-perl libwww-robotrules-perl libxapian22
>   libxml-parser-perl libxml-xpath-perl netpbm poppler-data python-xapian
>   reiserfsprogs scrub supermin xfsprogs zerofree zfs-fuse
> Suggested packages:
>   app-install-data python-xdg aptitude-doc-en aptitude-doc tasksel debtags
>   binutils-doc ghostscript-x hpijs libterm-readline-gnu-perl
>   libterm-readline-perl-perl libdigest-hmac-perl libgssapi-perl cups-common
>   libcwidget-dev fonts-droid libdata-dump-perl libintl-xs-perl
> liblcms2-utils
>   libcrypt-ssleay-perl libhtml-template-perl libxml-simple-perl
>   libauthen-ntlm-perl xapian-tools poppler-utils fonts-japanese-mincho
>   fonts-ipafont-mincho fonts-japanese-gothic fonts-ipafont-gothic
>   fonts-arphic-ukai fonts-arphic-uming fonts-unfonts-core xapian-doc xfsdump
>   attr quota nfs-kernel-server kpartx
> The following NEW packages will be installed:
>   apt-xapian-index aptitude aptitude-common binutils btrfs-tools dosfstools
>   fontconfig-config ghostscript gsfonts icoutils jfsutils ldmtool
>   libauthen-sasl-perl libboost-iostreams1.54.0 libclass-accessor-perl
>   libconfig9 libcups2 libcupsfilters1 libcupsimage2 libcwidget3
>   libencode-locale-perl libept1.4.12 libfile-listing-perl libfont-afm-perl
>   libfontconfig1 libgs9 libgs9-common libguestfs-perl libguestfs-tools
>   libguestfs0 libhivex0 libhtml-form-perl libhtml-format-perl
>   libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl
>   libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
>   libhttp-message-perl libhttp-negotiate-perl libijs-0.35 libintl-perl
>   libio-html-perl libio-socket-inet6-perl libio-socket-ssl-perl
>   libio-string-perl libjbig0 libjbig2dec0 libjson-glib-1.0-0
>   libjson-glib-1.0-common liblcms2-2 libldm-1.0-0 liblwp-mediatypes-perl
>   liblwp-protocol-https-perl liblzo2-2 libmailtools-perl libnet-http-perl
>   libnet-smtp-ssl-perl libnet-ssleay-perl libnetpbm10 libpaper-utils
> libpaper1
>   libparse-debianchangelog-perl libsigc++-2.0-0c2a libsocket6-perl
>   libstring-shellquote-perl libsub-name-perl libsys-virt-perl libtiff5
>   libtimedate-perl liburi-perl libwin-hivex-perl libwww-perl
>   libwww-robotrules-perl libxapian22 libxml-parser-perl libxml-xpath-perl
>   netpbm poppler-data python-xapian reiserfsprogs scrub supermin xfsprogs
>   zerofree zfs-fuse
> 0 upgraded, 87 newly installed, 0 to remove and 0 not upgraded.
> Need to get 26.9 MB of archives.
> After this operation, 108 MB of additional disk space will be used.
> Do you want to continue? [Y/n]
> 
> I'm thinking this might be better?
> ~:% sudo apt-get install --no-recommends libguestfs-tools
> 
> Also, does anyone know how long http://virt-tools.org has been down?
> 
> 
> Thanks A bunch,
> Josh Padilla
> DevOps Engineer
> Los Angeles, CA

> _______________________________________________
> Libguestfs mailing list
> Libguestfs redhat com
> https://www.redhat.com/mailman/listinfo/libguestfs


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]