Re: 2 questions on apt-get

2000-01-03 Thread John Pearson
On Sun, Jan 02, 2000 at 12:50:49PM +0100, Ulrich Hansmair wrote
 hi freaks,
 
 recently I´m using apt-get to install my potato. I think this way of
 distributing debian is a great step into future and perfectly combines  the
 abilities of the internet and free software. Debian should go this way.
 
 Now to the questions. 
 1. After apt-get update/upgrade I always get the standard kernel-image and
 pcmcia-modules which overwrites my own compiled versions. How can I exclude
 this packages from being upgraded?

With kernel-images, build them using make-kpkg with a command line like
 # make-kpkg --revision=ulrich.0 kernel-image
and the revision string will appear 'newer' than any official version, 
ensuring they don't get replaced.  Use a similar revision string for
your pcmcia-modules.

 2.apt-get upgrade gives the following message:
 
 ...
 The following packages have been kept back:
 dpkg-dev kernel-package perl perl-base
 ...
 
 I wanna this packages be included in the normal upgrade-procedure. What is the
 appropriate action?
 

 # apt-get dist-upgrade 
may help; if you want to see just what the problem is, try (e.g.)
 # apt-get -s install dpkg-dev
and apt-get will tell you what would be required.  Chances are the newer
versions depend on a package you don't currently have installed, or perhaps
conflict with one that you do.  If you are happy for apt to proceed, you
can upgrade them by running the command again without the '-s'.


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Oh - I - you know - my job is to fear everything. - Bill Gates in Denmark


2 questions on apt-get

2000-01-02 Thread Ulrich Hansmair
hi freaks,

recently I´m using apt-get to install my potato. I think this way of
distributing debian is a great step into future and perfectly combines  the
abilities of the internet and free software. Debian should go this way.

Now to the questions. 
1. After apt-get update/upgrade I always get the standard kernel-image and
pcmcia-modules which overwrites my own compiled versions. How can I exclude
this packages from being upgraded?
2.apt-get upgrade gives the following message:

...
The following packages have been kept back:
dpkg-dev kernel-package perl perl-base
...

I wanna this packages be included in the normal upgrade-procedure. What is the
appropriate action?

I hope this questions are of common interest?

uli



Re: 2 questions on apt-get

2000-01-02 Thread Oliver Elphick
Ulrich Hansmair wrote:
  1. After apt-get update/upgrade I always get the standard kernel-image and
  pcmcia-modules which overwrites my own compiled versions. How can I exclude
  this packages from being upgraded?

Read the docs for kernel package and use --revision=... when building your
own kernel.  You have to ensure that your local kernel .deb is a later
release than the standard one.

  2.apt-get upgrade gives the following message:
  
  ...
  The following packages have been kept back:
  dpkg-dev kernel-package perl perl-base
  ...
  
  I wanna this packages be included in the normal upgrade-procedure. What is t
  he
  appropriate action?

They are kept back because of dependencies on some other packages; these
dependencies cannot be satisfied if they are upgraded. 

You must either remove packages that are causing the problem, or wait for
new versions of the problem packages to become available, or (if you
know what you are doing) force the installation of the packages you
want upgraded.

-- 
  Vote against SPAM: http://www.politik-digital.de/spam/
 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight  http://www.lfix.co.uk/oliver
   PGP key from public servers; key ID 32B8FAA1
 
 Ye have heard that it hath been said, Thou shalt love 
  thy neighbour, and hate thine enemy. But I say unto 
  you, Love your enemies, bless them that curse you, do 
  good to them that hate you, and pray for them which 
  despitefully use you, and persecute you;  
 Matthew 5:43,44 



Re: 2 questions on apt-get

2000-01-02 Thread Brian Servis
*- On  2 Jan, Oliver Elphick wrote about Re: 2 questions on apt-get 
 Ulrich Hansmair wrote:
   2.apt-get upgrade gives the following message:
   
   ...
   The following packages have been kept back:
   dpkg-dev kernel-package perl perl-base
   ...
   
   I wanna this packages be included in the normal upgrade-procedure. What is 
 t
   he
   appropriate action?
 
 They are kept back because of dependencies on some other packages; these
 dependencies cannot be satisfied if they are upgraded. 
 
 You must either remove packages that are causing the problem, or wait for
 new versions of the problem packages to become available, or (if you
 know what you are doing) force the installation of the packages you
 want upgraded.
 

Read the apt-get man page.  You probably want to run 'apt-get
dist-upgrade' and not 'apt-get upgrade'.  The upgrade option will not
remove or change other packages status(i.e. packages will be held back).
Or start dselect, select [U]pdate, select [S]elect, hit space, hit
return(probably a few times as it sorts out depenencies/conflicts),
select [I]nstall.

Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


Re: 2 questions on apt-get

2000-01-02 Thread Fish Smith
hi freaks,

Who's a freak??

1. After apt-get update/upgrade I always get the
standard kernel-image
and
pcmcia-modules which overwrites my own compiled
versions. How can I
exclude
this packages from being upgraded?

I would backup the compiled ones, then put a script
into your shutdown sequence that replaces them with
the backups.  There's probably a better solution, but
this is how I'd do it.

2.apt-get upgrade gives the following message:

...
The following packages have been kept back:
dpkg-dev kernel-package perl perl-base
...

I wanna this packages be included in the normal
upgrade-procedure. What
is the
appropriate action?

Well, I'd answer, but considering I've just been
called a freak here... =)  Okay, ya got me, I really
don't know this one.

=
Fish of Borg
Visit me on the web!  
http://www.geocities.com/TimesSquare/Frontier/4874/stccg.html 
///Archaeologists near mount Sinai have discovered what appears to be a missing 
page from the Bible.  The page is currently being carbon dated in Bonn.  If 
genuine it belongs at the beginning of the Bible and is believed to read To my 
Darling Candy.  All Characters portrayed within this book are fictitious and 
any resemblance to persons living or dead is entirely coincidental.///Red Dwarf
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://messenger.yahoo.com


Re: 2 questions on apt-get

2000-01-02 Thread Edward Kear

At 06:40 AM 1/2/00 -0800, Fish Smith wrote:

hi freaks,

Who's a freak??

1. After apt-get update/upgrade I always get the
standard kernel-image
and
pcmcia-modules which overwrites my own compiled
versions. How can I
exclude
this packages from being upgraded?

I would backup the compiled ones, then put a script
into your shutdown sequence that replaces them with
the backups.  There's probably a better solution, but
this is how I'd do it.


Or...use dselect to mark the package hold - find the package using / and 
put it on hold with a =


then simulate the dist-upgrade just to be sure
apt-get -s dist-upgrade

 Ed