Debian - How do I mark a package as manually installed?

This is a discussion on Debian - How do I mark a package as manually installed? within the Linux General forums, part of the Linux Forums category; I am using Debian. Is there a way to mark a package as manually installed in the package database? I ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-12-2008
Mark Hobley
 
Posts: n/a
Default Debian - How do I mark a package as manually installed?

I am using Debian. Is there a way to mark a package as manually
installed in the package database? I want to manage some packages
outside of the package management system, and I want to flag the
packages as manually installed.

I am replacing some core components marked as required (such as
/bin/tar), and I want to mark the tar package and others as manually
installed.

(My versions are built using makefiles, and are not packaged for
Debian.)

Gentoo offers this facilty through /etc/portage/profile/package.provided
and I am hoping for similar thing in Debian, perhaps through dpkg, or
similar tool.

Thanks in advance.

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
Reply With Quote
  #2 (permalink)  
Old 05-12-2008
Bill Marcum
 
Posts: n/a
Default Re: Debian - How do I mark a package as manually installed?

On 2008-05-12, Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote:
>
>
> I am using Debian. Is there a way to mark a package as manually
> installed in the package database? I want to manage some packages
> outside of the package management system, and I want to flag the
> packages as manually installed.
>
> I am replacing some core components marked as required (such as
> /bin/tar), and I want to mark the tar package and others as manually
> installed.
>
> (My versions are built using makefiles, and are not packaged for
> Debian.)
>

You can create debs and install them (maybe by using alien), or you can
use equivs.

Reply With Quote
  #3 (permalink)  
Old 05-12-2008
Darren Salt
 
Posts: n/a
Default Re: Debian - How do I mark a package as manually installed?

I demand that Mark Hobley may or may not have written...

> I am using Debian. Is there a way to mark a package as manually installed
> in the package database? I want to manage some packages outside of the
> package management system, and I want to flag the packages as manually
> installed.


$ aptitude --help
....
markauto - Mark packages as having been automatically installed
unmarkauto - Mark packages as having been manually installed
....
$

[snip]
--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Output *more* particulate pollutants. BUFFER AGAINST GLOBAL WARMING.

Information deteriorates upward through bureaucracies.
Reply With Quote
  #4 (permalink)  
Old 05-12-2008
Darren Salt
 
Posts: n/a
Default Re: Debian - How do I mark a package as manually installed?

I demand that Bill Marcum may or may not have written...

> On 2008-05-12, Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote:

[snip]
>> I am replacing some core components marked as required (such as
>> /bin/tar), and I want to mark the tar package and others as manually
>> installed.


>> (My versions are built using makefiles, and are not packaged for
>> Debian.)


> You can create debs and install them (maybe by using alien), or you can use
> equivs.


Add some deb-src lines to your sources.list, update, install devscripts &
debhelper, "apt-get source $PKG", apply your changes, modify debian/changelog
(for the version number, mainly) "apt-get build-dep $PKG", "debuild binary",
install, mark as held.

--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| Let's keep the pound sterling

Appearances often are deceiving.
Reply With Quote
  #5 (permalink)  
Old 05-12-2008
Mark Hobley
 
Posts: n/a
Default Re: Debian - How do I mark a package as manually installed?

Darren Salt <news@youmustbejoking.demon.cu.invalid> wrote:

> Add some deb-src lines to your sources.list, update, install devscripts &
> debhelper, "apt-get source $PKG", apply your changes, modify debian/changelog
> (for the version number, mainly) "apt-get build-dep $PKG", "debuild binary",
> install, mark as held.


Rather than creating dummies or repackaging everything for Debian, I
really would like to just manipulate the package database directly,
telling it that a package is manually installed, or held, or whatever,
or possibly set an artificially high version number against the package,
so that it never gets upgraded. Is there any easy way to do this?

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
Reply With Quote
  #6 (permalink)  
Old 05-18-2008
s. keeling
 
Posts: n/a
Default Re: Debian - How do I mark a package as manually installed?

Darren Salt <news@youmustbejoking.demon.cu.invalid>:
> I demand that Bill Marcum may or may not have written...
>
> > On 2008-05-12, Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote:

> [snip]
> >> I am replacing some core components marked as required (such as
> >> /bin/tar), and I want to mark the tar package and others as manually
> >> installed.
> >>
> >> (My versions are built using makefiles, and are not packaged for
> >> Debian.)

> >
> > You can create debs and install them (maybe by using alien), or you can use
> > equivs.

>
> Add some deb-src lines to your sources.list, update, install devscripts &
> debhelper, "apt-get source $PKG", apply your changes, modify debian/changelog
> (for the version number, mainly) "apt-get build-dep $PKG", "debuild binary",
> install, mark as held.


Piece of pie. Easy as cake. :-P

I'd suggest hanging out in debian-mentors for a few years. It's what
I've been trying to do.


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:17 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0