Re: [DNG] aptitude gone mad with installation requests

2016-12-18 Thread Hendrik Boom
On Sun, Dec 18, 2016 at 07:42:55PM +1300, Daniel Reurich wrote:
> On 18/12/16 15:48, Hendrik Boom wrote:
> > On Sun, Dec 18, 2016 at 01:18:08AM +0100, info at smallinnovations.nl wrote:
> >> On 18-12-16 00:59, Hendrik Boom wrote:
> >>> well, the suse complaint is gone now.
> >>>
> >>> aptitude still tries to install a huge set of unwanted packages.
> >>> apt works just fine.
> >>>
> >>> Is there some aptitude-only status file that I could just delete so
> >>> that aptitude has to recostruct it from apt-get's data?
> >>
> >> |aptitude --clean-on-startup
> >>
> >> According to the manpage should clean the cache. I only use apt so i did 
> >> not
> >> test it.|
> > 
> > That cleans out the cache.  Which would be good if I had any 
> > packages from the suse that someone stuck into the 
> > /etc/apt/sources.list.d directory.  And I might ... and I might even 
> > have some of these installed ...
> > 
> > But is there somewhere that aptitude remembers what packages it is 
> > *supposed* to install?  That's probably what I need cleared.
> > 
> 
> Could you run the original problematic aptitude command with the flags
> --simulate --show-deps (read the man page) and share that so we can get
> a view of what your seeing.

Again not what I expected.  It just worked and did nothing.

hendrik@notlookedfor:~$ aptitude --simulate --show-deps upgrade
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Would download/install/remove packages.
hendrik@notlookedfor:~$ 


Next I'll try interactive aptitude.  Not sure where the deps will show 
up, though.


Interactive aptitude suggests 16 removals and 1197 keeps before I've 
given it any commands at all.

The list of removals contains a few worrisome ones; I'm not going to 
give it the goahead.

chrony
evince-gtk
exim4-base
exim4-config
exim4-daemon-light
grub-pc
grub2-common
hunspell-en-us
libfam0
lprng
make
python-pyxattr
rsyslog
sudu
wicd

Losing wicd could be problematical with respect to future updates.
lprng isn't working right now anyway because, as far as I can tell, 
cups has gotten installed and clobbered it.
grub-pc and grub2-common -- I just might need one of these when 
upgrading.
chrony I use for keeping the time correct.

I suspect some packages have gotten installed from suse's Debian 
directory.  Their version numbers might be sufficiently in advance of 
devuan jessie that I will hve trouble getting rid of them.

So far, no nice listing of dependencies.

-- hendrik

> 
> Daniel.
> 
> -- 
> Daniel Reurich
> Centurion Computer Technology (2005) Ltd.
> 021 797 722
> 




> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] aptitude gone mad with installation requests

2016-12-18 Thread Hendrik Boom
On Sun, Dec 18, 2016 at 07:42:55PM +1300, Daniel Reurich wrote:
> On 18/12/16 15:48, Hendrik Boom wrote:
> > On Sun, Dec 18, 2016 at 01:18:08AM +0100, info at smallinnovations.nl wrote:
> >> On 18-12-16 00:59, Hendrik Boom wrote:
> >>> well, the suse complaint is gone now.
> >>>
> >>> aptitude still tries to install a huge set of unwanted packages.
> >>> apt works just fine.
> >>>
> >>> Is there some aptitude-only status file that I could just delete so
> >>> that aptitude has to recostruct it from apt-get's data?
> >>
> >> |aptitude --clean-on-startup
> >>
> >> According to the manpage should clean the cache. I only use apt so i did 
> >> not
> >> test it.|
> > 
> > That cleans out the cache.  Which would be good if I had any 
> > packages from the suse that someone stuck into the 
> > /etc/apt/sources.list.d directory.  And I might ... and I might even 
> > have some of these installed ...
> > 
> > But is there somewhere that aptitude remembers what packages it is 
> > *supposed* to install?  That's probably what I need cleared.
> > 
> 
> Could you run the original problematic aptitude command with the flags
> --simulate --show-deps (read the man page) and share that so we can get
> a view of what your seeing.
> 
> Daniel.

Not what I expected.  It appears update will update whether --simulate 
is specified or not, and will try to set the lock even in user more 
(unsuccessfully, of course).  Is this a bug in aptitude or in the man 
page?

I will repeat with aptitude upgrade.

hendrik@notlookedfor:~$ aptitude --simulate --show-deps update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: 
Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
hendrik@notlookedfor:~$ su
Password: 
root@notlookedfor:/home/hendrik# aptitude --simulate --show-deps update
Get: 1 http://ca.mirror.devuan.org jessie InRelease [108 kB]
Get: 2 http://ca.mirror.devuan.org jessie-updates InRelease [119 kB]
Get: 3 http://ca.mirror.devuan.org jessie-security InRelease [60.8 kB] 
Get: 4 http://ca.mirror.devuan.org jessie/main Sources [7,082 kB]
Get: 5 http://ca.mirror.devuan.org jessie/non-free Sources [99.0 kB]   
Get: 6 http://ca.mirror.devuan.org jessie/contrib Sources [50.8 kB]
Get: 7 http://ca.mirror.devuan.org jessie/main i386 Packages [6,795 kB]
Get: 8 http://ca.mirror.devuan.org jessie/non-free i386 Packages [80.4 
kB] 
Get: 9 http://ca.mirror.devuan.org jessie/contrib i386 Packages [49.5 
kB]  
Get: 10 http://ca.mirror.devuan.org jessie-security/main Sources [174 
kB]  
Get: 11 http://ca.mirror.devuan.org jessie-security/non-free Sources 
[32 B]
Get: 12 http://ca.mirror.devuan.org jessie-security/contrib Sources 
[1,368 B]  
Get: 13 http://ca.mirror.devuan.org jessie-security/main i386 Packages 
[319 kB]
Get: 14 http://ca.mirror.devuan.org jessie-security/non-free i386 
Packages [32 B]
Get: 15 http://ca.mirror.devuan.org jessie-security/contrib i386 
Packages [2,308 B]
Get: 16 http://ca.mirror.devuan.org jessie-updates/main Sources [15.5 
kB]  
Get: 17 http://ca.mirror.devuan.org jessie-updates/contrib Sources [32 
B]  
Get: 18 http://ca.mirror.devuan.org jessie-updates/non-free Sources 
[920 B]
Get: 19 http://ca.mirror.devuan.org jessie-updates/main i386 Packages 
[16.3 kB]
Get: 20 http://ca.mirror.devuan.org jessie-updates/contrib i386 
Packages [32 B]
Get: 21 http://ca.mirror.devuan.org jessie-updates/non-free i386 
Packages [516 B]
Ign http://ca.mirror.devuan.org jessie/contrib Translation-en_CA   
Ign http://ca.mirror.devuan.org jessie/contrib Translation-en  
Ign http://ca.mirror.devuan.org jessie/main Translation-en_CA  
Ign http://ca.mirror.devuan.org jessie/main Translation-en
Ign http://ca.mirror.devuan.org jessie/non-free Translation-en_CA
Ign http://ca.mirror.devuan.org jessie/non-free Translation-en
Ign http://ca.mirror.devuan.org jessie-security/contrib 
Translation-en_CA  
Ign http://ca.mirror.devuan.org jessie-security/contrib Translation-en   
Ign http://ca.mirror.devuan.org jessie-security/main Translation-en_CA
Ign http://ca.mirror.devuan.org jessie-security/main Translation-en
Ign http://ca.mirror.devuan.org jessie-security/non-free 
Translation-en_CA
Ign http://ca.mirror.devuan.org jessie-security/non-free Translation-en
Ign http://ca.mirror.devuan.org jessie-updates/contrib 
Translation-en_CA
Ign http://ca.mirror.devuan.org jessie-updates/contrib Translation-en
Ign http://ca.mirror.devuan.org jessie-updates/main Translation-en_CA
Ign http://ca.mirror.devuan.org jessie-updates/main Translation-en
Ign http://ca.mirror.devuan.org jessie-updates/non-free 
Translation-en_CA
Ign http://ca.mirror.devuan.org jessie-updates/non-free Translation-en
Fetched 15.0 MB in 38s (389 kB/s)

root@notlookedfor:/home/hendrik# 



> 
> -- 
> Daniel Reurich
> Centurion Computer Technology (2005) Ltd.
> 021 797 722
> 




> 

Re: [DNG] aptitude gone mad with installation requests

2016-12-18 Thread Florian Zieboll
On Sat, 17 Dec 2016 18:45:24 -0500
Hendrik Boom  wrote:

> (a) so there are other places to look for sources entries than the 
> file I always used.


The  ".d" directories in /etc/ have become a common way to deploy a
configuration in chunks that can easily be installed and removed
automatedly, e.g. by a package manager. This is how e.g. the
'add-apt-repository' command adds the countless PPAs, that are popping
up everywhere on the www. 

If you haven't been aware of this, run 

$ find /etc -type d | grep \\.d$

You'll be surprised :)

libre Grüße,

f.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] aptitude gone mad with installation requests

2016-12-17 Thread Hendrik Boom
On Sun, Dec 18, 2016 at 01:18:08AM +0100, info at smallinnovations.nl wrote:
> On 18-12-16 00:59, Hendrik Boom wrote:
> >well, the suse complaint is gone now.
> >
> >aptitude still tries to install a huge set of unwanted packages.
> >apt works just fine.
> >
> >Is there some aptitude-only status file that I could just delete so
> >that aptitude has to recostruct it from apt-get's data?
> 
> |aptitude --clean-on-startup
> 
> According to the manpage should clean the cache. I only use apt so i did not
> test it.|

That cleans out the cache.  Which would be good if I had any 
packages from the suse that someone stuck into the 
/etc/apt/sources.list.d directory.  And I might ... and I might even 
have some of these installed ...

But is there somewhere that aptitude remembers what packages it is 
*supposed* to install?  That's probably what I need cleared.

> >
> >Would it help to uninstall and purge aptitude and then install it
> >again using apt?  Or would I end up risking borking the system's
> >package management?
> >
> >-- hendrik
> >
> >
> 

> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] aptitude gone mad with installation requests

2016-12-17 Thread info at smallinnovations.nl

On 18-12-16 00:59, Hendrik Boom wrote:

well, the suse complaint is gone now.

aptitude still tries to install a huge set of unwanted packages.
apt works just fine.

Is there some aptitude-only status file that I could just delete so
that aptitude has to recostruct it from apt-get's data?


|aptitude --clean-on-startup

According to the manpage should clean the cache. I only use apt so i did 
not test it.|


Would it help to uninstall and purge aptitude and then install it
again using apt?  Or would I end up risking borking the system's
package management?

-- hendrik




___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] aptitude gone mad with installation requests

2016-12-17 Thread Hendrik Boom
On Sat, Dec 17, 2016 at 06:45:24PM -0500, Hendrik Boom wrote:
> On Sun, Dec 18, 2016 at 12:08:03AM +0100, Florian Zieboll wrote:
> > On Sat, 17 Dec 2016 17:21:35 -0500
> > Hendrik Boom  wrote:
> > 
> > > > On Sat, Dec 17, 2016 at 10:37:48PM +0100, Florian Zieboll wrote:  
> > > >
> > > > and everything worked sanely.  But aptitude is still misbehaving.  
> > 
> > No idea, why apt would behave differently to aptitude. I just tried to
> > reproduce it, to no avail...
> > 
> > > Oh.  except that apt-update tells me
> > > 
> > > W: GPG error: http://download.opensuse.org  Release: The following
> > > signatures were invalid: KEYEXPIRED 1476626585
> > 
> > That might be the problem.
> > 
> > > I  have no idea why it would be looking at suse at all.
> > > 
> > > By the way, my /etc/apt/sources.list:
> > > 
> > > root@notlookedfor:~# cat /etc/apt/sources.list
> > 
> > How about 'cat /etc/apt/sources.list.d/*'? You seem to have packages
> > from an unreachable mirror installed, or apt wouldn't complain as it
> > does...
> 
> Yes!!
> 
> hendrik@notlookedfor:~$ cat /etc/apt/sources.list.d/opam.list 
> deb http://download.opensuse.org/repositories/home:/ocaml/Debian_7.0/ /
> hendrik@notlookedfor:~$ 
> 
> (a) so there are other places to look for sources entries than the 
> file I always used.
> (b) Why would opam connect me to suse?  Time to complain on the ocaml 
> mailing list.

well, the suse complaint is gone now.

aptitude still tries to install a huge set of unwanted packages.
apt works just fine.

Is there some aptitude-only status file that I could just delete so 
that aptitude has to recostruct it from apt-get's data?

Would it help to uninstall and purge aptitude and then install it 
again using apt?  Or would I end up risking borking the system's 
package management?

-- hendrik

> 
> > 
> > You could use 'aptitude search' to find those (temporarily) "obsolete"
> > packages. 
> > 
> > f.
> > 
> > ___
> > Dng mailing list
> > Dng@lists.dyne.org
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] aptitude gone mad with installation requests

2016-12-17 Thread Hendrik Boom
On Sun, Dec 18, 2016 at 12:08:03AM +0100, Florian Zieboll wrote:
> On Sat, 17 Dec 2016 17:21:35 -0500
> Hendrik Boom  wrote:
> 
> > > On Sat, Dec 17, 2016 at 10:37:48PM +0100, Florian Zieboll wrote:  
> > >
> > > and everything worked sanely.  But aptitude is still misbehaving.  
> 
> No idea, why apt would behave differently to aptitude. I just tried to
> reproduce it, to no avail...
> 
> > Oh.  except that apt-update tells me
> > 
> > W: GPG error: http://download.opensuse.org  Release: The following
> > signatures were invalid: KEYEXPIRED 1476626585
> 
> That might be the problem.
> 
> > I  have no idea why it would be looking at suse at all.
> > 
> > By the way, my /etc/apt/sources.list:
> > 
> > root@notlookedfor:~# cat /etc/apt/sources.list
> 
> How about 'cat /etc/apt/sources.list.d/*'? You seem to have packages
> from an unreachable mirror installed, or apt wouldn't complain as it
> does...

Yes!!

hendrik@notlookedfor:~$ cat /etc/apt/sources.list.d/opam.list 
deb http://download.opensuse.org/repositories/home:/ocaml/Debian_7.0/ /
hendrik@notlookedfor:~$ 

(a) so there are other places to look for sources entries than the 
file I always used.
(b) Why would opam connect me to suse?  Time to complain on the ocaml 
mailing list.

> 
> You could use 'aptitude search' to find those (temporarily) "obsolete"
> packages. 
> 
> f.
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] aptitude gone mad with installation requests

2016-12-17 Thread Florian Zieboll
On Sat, 17 Dec 2016 17:21:35 -0500
Hendrik Boom  wrote:

> > On Sat, Dec 17, 2016 at 10:37:48PM +0100, Florian Zieboll wrote:  
> >
> > and everything worked sanely.  But aptitude is still misbehaving.  

No idea, why apt would behave differently to aptitude. I just tried to
reproduce it, to no avail...

> Oh.  except that apt-update tells me
> 
> W: GPG error: http://download.opensuse.org  Release: The following
> signatures were invalid: KEYEXPIRED 1476626585

That might be the problem.

> I  have no idea why it would be looking at suse at all.
> 
> By the way, my /etc/apt/sources.list:
> 
> root@notlookedfor:~# cat /etc/apt/sources.list

How about 'cat /etc/apt/sources.list.d/*'? You seem to have packages
from an unreachable mirror installed, or apt wouldn't complain as it
does...

You could use 'aptitude search' to find those (temporarily) "obsolete"
packages. 

f.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] aptitude gone mad with installation requests

2016-12-17 Thread Hendrik Boom
On Sat, Dec 17, 2016 at 05:17:56PM -0500, Hendrik Boom wrote:
> On Sat, Dec 17, 2016 at 10:37:48PM +0100, Florian Zieboll wrote:
> > On Sat, 17 Dec 2016 15:46:00 -0500
> > Hendrik Boom  wrote:
> > 
> > > I tried using aptitude in interactive more to do a routine update and 
> > > upgrade.  It complains that there are broken packages and when I ask 
> > > to examine the situation it starts trying to resolve stuff and counts 
> > > opwn, closed, etc. conflicts.  
> > 
> > That sounds (reads) like a temporary confusion due to mixed sources in
> > your sources.list and probably some apt-pinning, in combination with
> > 'aptitude update' having failed to get some index files. 
> > 
> > I'd re-run 'aptitude update' and check its output before attempting to
> > upgrade or install any packages. As soon as all index files can be
> > downloaded, the problem should disappear.
> 
> Before I got this message, I tried
> apt update
> apt upgrade
> and everything worked sanely.  But aptitude is still misbehaving.

Oh.  except that apt-update tells me

W: GPG error: http://download.opensuse.org  Release: The following signatures 
were invalid: KEYEXPIRED 1476626585

I  have no idea why it would be looking at suse at all.

By the way, my /etc/apt/sources.list:

root@notlookedfor:~# cat /etc/apt/sources.list
# deb http://ca.mirror.devuan.org/merged/ jessie main

deb http://ca.mirror.devuan.org/merged/ jessie main non-free contrib
deb-src http://ca.mirror.devuan.org/merged/ jessie main non-free contrib

# deb http://security.debian.org/ jessie/updates main contrib non-free
# deb-src http://security.debian.org/ jessie/updates main contrib non-free

deb http://ca.mirror.devuan.org/merged jessie-security main non-free contrib
deb-src http://ca.mirror.devuan.org/merged jessie-security main non-free contrib

# jessie-updates, previously known as 'volatile'
deb http://ca.mirror.devuan.org/merged/ jessie-updates main contrib non-free
deb-src http://ca.mirror.devuan.org/merged/ jessie-updates main contrib non-free

# deb http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian 
wheezy main
# deb-src http://mirror.ppa.trinitydesktop.org/trinity/trinity-r14.0.0/debian 
wheezy main
# deb 
http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian 
wheezy main
# deb-src 
http://mirror.ppa.trinitydesktop.org/trinity/trinity-builddeps-r14.0.0/debian 
wheezy main
root@notlookedfor:~# 

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] aptitude gone mad with installation requests

2016-12-17 Thread Hendrik Boom
On Sat, Dec 17, 2016 at 10:37:48PM +0100, Florian Zieboll wrote:
> On Sat, 17 Dec 2016 15:46:00 -0500
> Hendrik Boom  wrote:
> 
> > I tried using aptitude in interactive more to do a routine update and 
> > upgrade.  It complains that there are broken packages and when I ask 
> > to examine the situation it starts trying to resolve stuff and counts 
> > opwn, closed, etc. conflicts.  
> 
> That sounds (reads) like a temporary confusion due to mixed sources in
> your sources.list and probably some apt-pinning, in combination with
> 'aptitude update' having failed to get some index files. 
> 
> I'd re-run 'aptitude update' and check its output before attempting to
> upgrade or install any packages. As soon as all index files can be
> downloaded, the problem should disappear.

Before I got this message, I tried
apt update
apt upgrade
and everything worked sanely.  But aptitude is still misbehaving.

-- hendrik
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng