Bug#383690: Latest update breaks ntp

2006-10-01 Thread Daniel Burrows
  Sorry for taking so long to get back to you on this.

  It looks to me like the problem is this:

  The ntp packages used to be split into ntp, ntp-simple, ntp-server,
and ntp-refclock.  A few versions ago, they were merged into just ntp.
You explicitly installed ntp-simple, so ntp was considered to be
automatically installed.  When you tried to just "upgrade", aptitude
kept the ntp packages back because ntp-simple had no candidate for
installation (since it had been removed), while upgrading ntp would
break ntp-simple.  The more aggressive "dist-upgrade" upgraded both
packages, then noticed that ntp was no longer installed and removed it.

  This is not ideal behavior, but it is expected.

  In the particular case you're looking at, the removed ntp packages
have been re-created as dummy upgrade packages, so it shouldn't happen
again (until the dummies are removed in a future release).

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383690: Latest update breaks ntp

2006-10-01 Thread Daniel Burrows
On Tue, Sep 05, 2006 at 05:53:18PM -0400, Rick Thomas <[EMAIL PROTECTED]> was 
heard to say:
> 
> Hi Daniel,
> 
> Here's a strange one!  I assume a bug-report is appropriate, and I'll  
> make one, but I'll need your help in figuring out which package to  
> report it against...

  The problem here is that we did a python transition a few weeks ago,
and it looks like not all the python programs you were running were
ready for the transition.  So some of your programs would break if you
upgraded python, while others needed the new python to be upgraded.  I
bet that if you had asked for the next solution, aptitude would have
offered to cancel a ton of upgrades.

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383690: Latest update breaks ntp

2006-09-05 Thread Rick Thomas


Hi Daniel,

Here's a strange one!  I assume a bug-report is appropriate, and I'll  
make one, but I'll need your help in figuring out which package to  
report it against...


I have a machine ("darkstar") running etch, which I use for testing  
debian installer things.  I did an "aptitude update ; aptitude  
upgrade" before leaving for the 3-day weekend.  When I returned  
today, Tuesday, I tried to do the same thing, to pick up any changes  
that happened over the weekend.


The Tuesday "aptitude upgrade" told me that a whole bunch of packages  
were being kept back (as well as the usual flock that wanted to be  
upgraded; etch is testing after all).  I aborted to think about  
things.  After thinking, I allowed it to proceed and it updated what  
it could.  But it still had a bunch of packages being kept back.  I  
tried "aptitude dist-upgrade" just to see what it would propose, but  
aborted before letting it have its way, because it wanted to delete a  
bunch of stuff that looked like I wouldn't be happy if they were  
deleted.  It claimed a number of things were broken as well.


I managed to save all of this in a typescript, which is attached.   
I'll leave the machine unchanged for a while, if you want me to run  
any tests or retrieve any log files.


Any advice on where to send the bug-report will be appreciated!

Thanks!

Rick


darkstar:~# aptitude update
Get:1 http://debian.lcs.mit.edu etch Release.gpg [189B]
Get:2 http://debian.lcs.mit.edu etch Release [62.9kB]   

Get:3 http://ike.egr.msu.edu etch Release.gpg [189B]

Get:4 http://ike.egr.msu.edu etch Release [62.9kB]  

Get:5 http://security.debian.org etch/updates Release.gpg [189B]
   
Get:6 http://security.debian.org etch/updates Release [24.3kB]  
   
Get:7 http://debian.lcs.mit.edu etch/main Packages/DiffIndex [12.6kB]   
  
Get:8 http://debian.lcs.mit.edu etch/non-free Packages/DiffIndex [12.5kB]   

Ign http://security.debian.org etch/updates/main Packages/DiffIndex 

Get:9 http://ike.egr.msu.edu etch/main Packages/DiffIndex [12.6kB]  

Ign http://security.debian.org etch/updates/main Sources/DiffIndex  
   
Get:10 http://debian.lcs.mit.edu etch/contrib Packages/DiffIndex [12.5kB]   
   
Get:11 http://debian.lcs.mit.edu etch/main Sources/DiffIndex [12.5kB]   

Get:12 http://debian.lcs.mit.edu etch/non-free Sources/DiffIndex [12.5kB]   

Get:13 http://debian.lcs.mit.edu etch/contrib Sources/DiffIndex [12.5kB]

Hit http://security.debian.org etch/updates/main Packages   

Get:14 2006-09-01-1257.51.pdiff [70.4kB]

Hit http://security.debian.org etch/updates/main Sources

Get:15 http://ike.egr.msu.edu etch/non-free Packages/DiffIndex [12.5kB] 

Get:16 2006-09-01-1257.51.pdiff [1568B] 

Get:17 2006-09-01-1257.51.pdiff [1236B] 

Get:18 2006-09-01-1257.51.pdiff [15.9kB]

Get:19 2006-09-01-1257.51.pdiff [351B]  
   
Get:20 2006-09-01-1257.51.pdiff [70.4kB]
   
Get:21 2006-09-01-1257.51.pdiff [476B]  
   
Get:22 http://ike.egr.msu.edu etch/contrib Packages/DiffIndex [12.5kB]  
   
Get:23 2006-09-01-1257.51.pdiff [1568B]  
Get:24 2006-09-01-1257.51.pdiff [1236B]  
Get:25 2006-09-01-1257.51.pdiff [70.4kB]
  
Get:26 http://ike.egr.msu.edu etch/main Sources/DiffIndex [12.5kB]  

Get:27 http://ike.egr.msu.edu etch/non-free Sources/DiffIndex [12.5kB]  

Get:28 http://ike.egr.msu.edu etch/contrib Sources/DiffIndex [12.5kB]   

Get:29 2006-09-01-1257.51.pdiff [70.4kB]

Get:30 2006-09-01-1257.51.pdiff [15.9kB]

Get:31 2006-09-01-1257.51.pdiff [351B]   

Bug#383690: Latest update breaks ntp

2006-09-04 Thread Rick Thomas


On Sep 2, 2006, at 1:35 PM, Rick Thomas wrote:

I plan to do a non-network install (dvd-only) of the beta3 dvd  
(which should get me to the condition I was in before the problems)  
then add a network repo to sources.list (which should attempt to  
update to the dfsg versions) and see what happens.



I did this.  The attached "typescript" and "/var/log/aptitude" files  
will give you all the gory details.  But here's the executive summary:


After the non-network (DVD-only) install, I added the repository at  
debian.lcs.mit.edu to my sources.list and did an "aptitude update"  
and "aptitude upgrade" to get up to the latest levels of everything  
*but* the ntp packages, so as to avoid a lot of irrelevant noise from  
updates of other packages.  Then I switched back to the DVD-only  
sources.list to install the ntp packages at level 4.2.0a 
+stable-2sarge1 from the DVD.


I switched back to the network enabled sources.list and did "aptitude  
update" and "aptitude upgrade" in an attempt to pick up the 4.2.2 
+dfsg.2-1 level of the ntp packages from the network repository.  I got:



The following packages have been kept back:
  ntp
The following packages will be upgraded:
  ntpdate psmisc
2 packages upgraded, 0 newly installed, 0 to remove and 1 not  
upgraded.

Need to get 142kB of archives. After unpacking 73.7kB will be used.
Do you want to continue? [Y/n/?]
Get:1ohttp://debian.lcs.mit.edu etch/main ntpdate 1:4.2.2+dfsg.2-1  
[59.6kB]

Get:2Whttp://debian.lcs.mit.edu etch/main psmisc 22.3-1 [82.0kB]
Fetchedo142kB]in80s0(635kB/s)
(Reading database ... 22527 files and directories currently  
installed.)
Preparing to replace ntpdate 1:4.2.0a+stable-2sarge1 (using .../ 
ntpdate_1%3a4.2.2+dfsg.2-1_powerpc.deb) ...

Unpacking replacement ntpdate ...
Preparing to replace psmisc 22.2-1 (using .../ 
psmisc_22.3-1_powerpc.deb) ...

Unpacking replacement psmisc ...
Setting up ntpdate (4.2.2+dfsg.2-1) ...
Installing new version of config file /etc/default/ntpdate ...
Installing new version of config file /etc/init.d/ntpdate ...
Installing new version of config file /etc/logcheck/ignore.d.server/ 
ntpdate ...


Setting up psmisc (22.3-1) ...


So the first question is, Why was the ntp package held back?

I did "aptitude -v show ntp ntp-server ntp-simple ntpdate" to see the  
dependency relations of those packages.  Perhaps you can make enough  
sense out of them to explain?


Then, in an effort to get it to update the ntp packages other than  
ntpdate (which was already updated), I did "aptitude dist-upgrade"  
and got:



The following packages are unused and will be REMOVED:
  libssl0.9.7 ntp
The following packages will be automatically REMOVED:
  ntp-server ntp-simple
The following packages will be REMOVED:
  ntp-server ntp-simple
0 packages upgraded, 0 newly installed, 4 to remove and 0 not  
upgraded.

Need to get 0B of archives. After unpacking 2642kB will be freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 22530 files and directories currently  
installed.)

Removing ntp-server ...
Stopping NTP server: ntpd.
Removing ntp ...
Removing ntp-simple ...
Removing libssl0.9.7 ...


which left me without any ntp packages at all installed (except  
ntpdate).


So the second question is, Why did it think the "ntp" package was  
unused?
And the third question is, Why didn't it install the updated "ntp"  
package?


"Curiouser and curiouser!", cried Alice.

Finally, doing "aptitude install ntp" brought in the 4.2.2+dfsg.2-1  
level from the network repository.



Hope this helps!

Rick




typescript
Description: Binary data





aptitude_log
Description: Binary data





Bug#383690: Latest update breaks ntp

2006-09-03 Thread Daniel Burrows
On Sat, Sep 02, 2006 at 01:35:13PM -0400, Rick Thomas <[EMAIL PROTECTED]> was 
heard to say:
> 
> I'm wondering if this is similar to the problem that is described in
> 
> http://lists.debian.org/debian-user/2006/09/msg00090.html
> 
> Certainly the pattern of dependency/pre-dependency seems similar...
> 
> What happened was this:
> 
> I had installed ntpdate, ntp-simple and ntp packages at the 4.2.0a 
> +stable-2sarge1 revision level.  When the "dfsg" revision of these  
> packages came along, instead of updating those packages, the result  
> of an "aptitude upgrade" was to delete the ntp* packages entirely.  I  
> got out of the problem by re-installing the ntp* packages, which got  
> me to the dfsg versions.
> 
> I plan to do a non-network install (dvd-only) of the beta3 dvd (which  
> should get me to the condition I was in before the problems) then add  
> a network repo to sources.list (which should attempt to update to the  
> dfsg versions) and see what happens.

  That does sound odd.  I would be interested in hearing if apt-get
does the same thing (which would indicate it's probably a generic apt
issue instead of something with aptitude's dependency handling or
autoremoval code).

  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383690: Latest update breaks ntp

2006-09-02 Thread Rick Thomas


I'm wondering if this is similar to the problem that is described in

http://lists.debian.org/debian-user/2006/09/msg00090.html

Certainly the pattern of dependency/pre-dependency seems similar...

What happened was this:

I had installed ntpdate, ntp-simple and ntp packages at the 4.2.0a 
+stable-2sarge1 revision level.  When the "dfsg" revision of these  
packages came along, instead of updating those packages, the result  
of an "aptitude upgrade" was to delete the ntp* packages entirely.  I  
got out of the problem by re-installing the ntp* packages, which got  
me to the dfsg versions.


I plan to do a non-network install (dvd-only) of the beta3 dvd (which  
should get me to the condition I was in before the problems) then add  
a network repo to sources.list (which should attempt to update to the  
dfsg versions) and see what happens.


Rick



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383690: Latest update breaks ntp

2006-09-01 Thread Daniel Burrows
On Sat, Sep 02, 2006 at 12:34:16AM -0400, Rick Thomas <[EMAIL PROTECTED]> was 
heard to say:
> I'll see if I can reproduce the symptoms and keep a careful log.   
> What logs/outputs would you like to to collect?

  I think a good starting point would be a list of other packages that were
being upgraded alongside ntp, as well as the exact method you used to perform
the upgrade (which UI, what commands, etc).

  Daniel


signature.asc
Description: Digital signature


Bug#383690: Latest update breaks ntp

2006-09-01 Thread Rick Thomas

Hi Daniel,

I'll see if I can reproduce the symptoms and keep a careful log.   
What logs/outputs would you like to to collect?


Rick

On Sep 1, 2006, at 10:27 PM, Daniel Burrows wrote:

  Do you have any information that would explain why it did this?   
I'll

need more data to do anything useful with this report.

   Thanks,
  Daniel




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383690: Latest update breaks ntp

2006-09-01 Thread Daniel Burrows
  Do you have any information that would explain why it did this?  I'll
need more data to do anything useful with this report.

   Thanks,
  Daniel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#383690: Latest update breaks ntp

2006-08-18 Thread Rick Thomas

Package: aptitude

I just did an aptitude update/upgrade of an etch system.  It resulted  
in deleting ntp, ntp-simple, and ntp-server, leaving me without a  
functioning ntp daemon.


Rick

"Not the sort of behavior you ordinarily expect from a major appliance"
  - ghostbusters




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]