Hello list, I got me a VPS from gplhost.com.

First thing I did was installing Debian sarge on it, second thing I
did was playing smarty pants and adding _everything_ from
backports.org.

I've gone ahead with (children: Don't try this at home!) :
<<<
cat 'deb http://www.backports.org/debian sarge-backports main contrib
non-free' >> /etc/apt/sources
cat 'Package: *
Pin: release a=sarge-backports
Pin-Priority: 950' >> /etc/apt/preferences
aptitude update && aptitude dist-upgrade (yes, yes, yes, ok, sure, why
not, ok, come on... yalla)


The some package (I think it was openssh-server) had some unresolved
dependencies, so I'm trying to calm things down by going back into
"vanilla" sarge.

I've rm'ed /etc/apt/preferences and commented out backports from sources.list.

What leads us to the following logic:

If I try to do

aptitude install postfix from the command line
<<<
[EMAIL PROTECTED]:xen018013>_ ~# aptitude -sVDvvvvvv install postfix
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are unused and will be REMOVED:
 gpgv [1.4.6-1~bpo.1] (D: gnupg)
 hotplug [0.0.20040329-22] (R: libusb-0.1-4)
 libreadline5 [5.0-10] (D: gnupg)
 libusb-0.1-4 [2:0.1.10a-9.sarge.1] (D: gnupg)
The following NEW packages will be automatically installed:
 emacs21 [21.4a-1] (D: mew-beta, R: postfix)
 emacs21-bin-common [21.4a-1] (D: emacs21)
 emacs21-common [21.4a-1] (D: emacs21-bin-common)
 emacsen-common [1.4.16] (D: emacs21-common)
 libice6 [4.3.0.dfsg.1-14sarge2] (D: emacs21, D: libsm6, D: libxmu6,
D: libxt6, D: xaw3dg)
 libjpeg62 [6b-10] (D: emacs21, D: libtiff4)
 libpng12-0 [1.2.8rel-1] (D: emacs21)
 libsm6 [4.3.0.dfsg.1-14sarge2] (D: emacs21, D: libxmu6, D: libxt6, D: xaw3dg)
 libtiff4 [3.7.2-7] (D: emacs21)
 libungif4g [4.1.3-2sarge1] (D: emacs21, R: libungif4g)
 libx11-6 [4.3.0.dfsg.1-14sarge2] (D: emacs21, D: xaw3dg)
 libxext6 [4.3.0.dfsg.1-14sarge2] (D: emacs21, D: libxmu6, D: xaw3dg)
 libxmu6 [4.3.0.dfsg.1-14sarge2] (D: emacs21, D: xaw3dg)
 libxpm4 [4.3.0.dfsg.1-14sarge2] (D: emacs21, D: xaw3dg)
 libxt6 [4.3.0.dfsg.1-14sarge2] (D: emacs21, D: libxmu6, D: xaw3dg)
 mew-beta [4.0.65-7] (R: postfix, S: mew-beta-bin)
 mew-beta-bin [4.0.65-7] (D: mew-beta, R: postfix)
 resolvconf [1.28] (R: postfix) xaw3dg [1.5+E-8] (D: emacs21)
 xfree86-common [4.3.0.dfsg.1-14sarge2] (D: libice6, D: libsm6, D:
libx11-6, D: libxext6, D: libxmu6, D: libxpm4, D: libxt6, D:
xlibs-data)
 xlibs-data [4.3.0.dfsg.1-14sarge2] (D: libx11-6)
The following packages will be automatically REMOVED:

 apt [0.6.46.2~bpo.1] (D: debian-archive-keyring, S: aptitude, S:
gnome-apt, S: synaptic, S: wajig)
 apt-utils [0.6.46.2~bpo.1] (D: libapt-pkg-libc6.3-5-3.11)
 aptitude [0.2.15.9-6bpo3] (D: libapt-pkg-libc6.3-5-3.11)
 base-config [2.53.10.2] (D: apt)
 debian-archive-keyring [2006.11.22~bpo.1] (D: gnupg)
 gnupg [1.4.6-1~bpo.1] (D: gpgv, D: libldap2, D: libreadline5, D: libusb-0.1-4)
 libldap2 [2.1.30-8] (D: libsasl2)
 libsasl2 [2.1.22.dfsg1-8~bpo.1] (D: libsasl2-2)
 libsasl2-2 [2.1.22.dfsg1-8~bpo.1] (R: libsasl2-modules, C: postfix)
 libsasl2-modules [2.1.22.dfsg1-8~bpo.1] (D: libsasl2-2)
 tasksel [2.24] (D: aptitude)
The following NEW packages will be installed:
 emacs21 [21.4a-1] emacs21-bin-common [21.4a-1] emacs21-common [21.4a-1]
 emacsen-common [1.4.16] libice6 [4.3.0.dfsg.1-14sarge2] libjpeg62 [6b-10]
 libpng12-0 [1.2.8rel-1] libsm6 [4.3.0.dfsg.1-14sarge2] libtiff4 [3.7.2-7]
 libungif4g [4.1.3-2sarge1] libx11-6 [4.3.0.dfsg.1-14sarge2]
 libxext6 [4.3.0.dfsg.1-14sarge2] libxmu6 [4.3.0.dfsg.1-14sarge2]
 libxpm4 [4.3.0.dfsg.1-14sarge2] libxt6 [4.3.0.dfsg.1-14sarge2]
 mew-beta [4.0.65-7] mew-beta-bin [4.0.65-7] postfix [2.1.5-9]
 resolvconf [1.28] xaw3dg [1.5+E-8] xfree86-common [4.3.0.dfsg.1-14sarge2]
 xlibs-data [4.3.0.dfsg.1-14sarge2]
The following packages will be REMOVED:
 apt [0.6.46.2~bpo.1] apt-utils [0.6.46.2~bpo.1] aptitude [0.2.15.9-6bpo3]
 base-config [2.53.10.2] debian-archive-keyring [2006.11.22~bpo.1]
 gnupg [1.4.6-1~bpo.1] libldap2 [2.1.30-8] libsasl2 [2.1.22.dfsg1-8~bpo.1]
 libsasl2-2 [2.1.22.dfsg1-8~bpo.1] libsasl2-modules [2.1.22.dfsg1-8~bpo.1]
 tasksel [2.24]
The following packages are SUGGESTED but will NOT be installed:
 bogofilter [0.94.4-1] (S: mew-beta) bsfilter [1:1.0.4-1] (S: mew-beta)
 emacs21-el [21.4a-1] (S: emacs21-common)
 mhc [0.25.1+20050120-1] (S: mew-beta)
 mu-cite [8.1+0.20020225.0931-3] (S: mew-beta)
 mule-ucs [0.84.999+0.20030620-9] (S: mew-beta)
 netpbm [2:10.0-8sarge3] (S: mew-beta) postfix-ldap [2.1.5-9] (S: postfix)
 postfix-mysql [2.1.5-9] (S: postfix) postfix-pcre [2.1.5-9] (S: postfix)
 postfix-pgsql [2.1.5-9] (S: postfix) ppthtml [0.5.1-2] (S: mew-beta)
 procmail [3.22-11] (S: postfix)
 spamassassin [3.0.3-2sarge1] (S: mew-beta)
 stunnel [2:3.26-3] (S: mew-beta) stunnel4 [2:4.090-1] (S: mew-beta)
 w3m-el [1.4.4-1] (S: mew-beta) wv [1.0.2-0.1] (S: mew-beta)
 x-face-el [1.3.6.24-7] (S: mew-beta)
 x-window-system [4.3.0.dfsg.1-14sarge2] (S: xfree86-common)
 x-window-system-core [4.3.0.dfsg.1-14sarge2] (S: xfree86-common)
 xlhtml [0.5.1-2] (S: mew-beta)
0 packages upgraded, 22 newly installed, 15 to remove and 0 not upgraded.
Need to get 18.8MB/19.7MB of archives. After unpacking 44.8MB will be used.
Do you want to continue? [Y/n/?] No way in hell
Abort.


From the ncurses interface it gives me:

<<<
pi U  postfix
..
postfix will be installed.
The following packages conflict with postfix and will be broken by its
installation:
 * libsasl2-2 conflicts with postfix (< 2.3.4-3)


Clicking on 'g' for Go simply cancels the whole operation (talking
about two-faced behavior of aptitude)

If I try to go the apt-get way, I get the following gems:
<<<
[EMAIL PROTECTED]:xen018013>_ ~# apt-get -sqV install postfix
Reading package lists...
Building dependency tree...
Suggested packages:
  procmail (3.22-11)
  postfix-mysql (2.1.5-9)
  postfix-pgsql (2.1.5-9)
  postfix-ldap (2.1.5-9)
  postfix-pcre (2.1.5-9)
Recommended packages:
  mail-reader ()
  resolvconf (1.28)
The following packages will be REMOVED:
  apt (0.6.46.2~bpo.1)
  apt-utils (0.6.46.2~bpo.1)
  aptitude (0.2.15.9-6bpo3)
  base-config (2.53.10.2)
  debian-archive-keyring (2006.11.22~bpo.1)
  gnupg (1.4.6-1~bpo.1)
  libldap2 (2.1.30-8)
  libsasl2 (2.1.22.dfsg1-8~bpo.1)
  libsasl2-2 (2.1.22.dfsg1-8~bpo.1)
  libsasl2-modules (2.1.22.dfsg1-8~bpo.1)
  tasksel (2.24)
The following NEW packages will be installed:
  postfix (2.1.5-9)
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
 apt debian-archive-keyring (due to apt)
0 upgraded, 1 newly installed, 11 to remove and 0 not upgraded.
Remv base-config [2.53.10.2]
Remv apt-utils [0.6.46.2~bpo.1]
Remv tasksel [2.24]
Remv aptitude [0.2.15.9-6bpo3]
Remv apt [0.6.46.2~bpo.1]
Remv debian-archive-keyring [2006.11.22~bpo.1]
Remv gnupg [1.4.6-1~bpo.1]
Remv libldap2 [2.1.30-8]
Remv libsasl2 [2.1.22.dfsg1-8~bpo.1]
Remv libsasl2-modules [2.1.22.dfsg1-8~bpo.1]
Remv libsasl2-2 [2.1.22.dfsg1-8~bpo.1]
Inst postfix (2.1.5-9 Debian AMD64 archive:3.1r2/stable)
Conf postfix (2.1.5-9 Debian AMD64 archive:3.1r2/stable)


It looks like this would work, but then it would leave me without
apt... not good.



To add some more info to the already exaltedly long email:

<<<
[EMAIL PROTECTED]:xen018013>_ ~# apt-config dump
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";


OT questions:

Where can I get more information about the various files under /var/lib/dpkg ?
Turns out that even in sarge apt has "sources.list.d" why doesn't
anyone uses it then?
Can I write custom methods (under /usr/lib/apt/methods) ? Where is protocol ??
Any more interesting places to look when hacking dpkg/debconf/apt/aptitude ?

BTW, if anyone would like to have ssh access to this _virtual_ machine
before I dump it; to run his "super sweeper root keeper" rootkit or to
try and help me fix this mess - I'd gladly give it to him.

Thank you and have a great weekend,
Maxim.

--
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to