Page 7 of 7 FirstFirst ... 567
Results 61 to 63 of 63

Thread: Apt-get / dpkg tutorial

  1. #61
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by Demopoly View Post
    perhaps this could be a new thread? "How to resolve apt-get conflict problems."
    I've been trying "apt-get -f autoremove libisc50- " etc. etc., with a long list of packages each with a "-" at the end, and it hasn't worked. I may have missed something, but this instruction isn't entirely clear to me.
    apologies if this has already been posted/solved elsewhere.
    I don't know why what you're doing should have failed, but if you post more details perhaps we can advise. On the other hand, you may be encountering a widely-reported problem, as mentioned by another user here. I would also note in passing the existence of tools other than apt-get for system maintenance, namely aptitude and synaptic - both of which are included with Knoppix out-of-the-box. Perhaps one of them could be useful here.

    Cheers!
    Krishna

  2. #62
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    I hoped to find some good, up to date info on package admin in this thread, but I could not see much. There is a need for a sticky package tools thread here, but maybe start a new one?

    Here is a nice introduction I found: http://maketecheasier.com/become-an-apt-guru/2009/02/24.

    Should we try to use aptitude instead of apt-get?
    From the link:
    Aptitude/Apt-get

    There’s some debate and confusion regarding these two tools. Many Linux users have a hard time telling when/why to use one over the other, as they do roughly the same thing.
    Short answer: use Aptitude.
    Long answer: Both can be used to manage all software installations removals, and both will do a good job. The Debian team officially recommends using Aptitude. It’s not that it’s a LOT better than apt-get, but that it’s a little better, in lots of ways. You can use either one and it will meet your package management needs, but don’t mix and match on the same system. Pick one and stick with it.
    That article is from 2009. Anyone having experiences/viewpoints?

  3. #63
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Here is a new article, from June:
    http://raphaelhertzog.com/2011/06/20...nager-for-you/

    One important point is that the older warnings against mix'n match aptitude/apt-get are no longer that valid, and with the latest developments, they are about equivalent.

    Here is the conclusion:

    apt-get or aptitude?

    First I want to make it clear that you can use both and mix them without problems. It used to be annoying when apt-get did not track which packages were automatically installed while aptitude did, but now that both packages share this list, there’s no reason to avoid switching back and forth.
    I would recommend apt-get for the big upgrades (i.e. dist-upgrade from one stable to the next) because it will always find quickly a relatively good solution while aptitude can find several convoluted solutions (or none) and it’s difficult to decide which one should be used.
    On the opposite for regular upgrades in unstable (or testing), I would recommend “aptitude safe-upgrade“. It does a better job than apt-get at keeping on hold packages which are temporarily broken due to some not yet finished changes while still installing new packages when required. With aptitude it’s also possible to tweak dynamically the suggested operations while apt-get doesn’t allow this. And aptitude’s command line is probably more consistent: with apt-get you have to switch between apt-get and apt-cache depending on the operation that you want to do, aptitude on the other hand does everything by itself.
    Take some time to read their respective documentation and to try them.
    So, it could seem that there is no longer any big point in choosing one over the other, and for actual use, I can continue with my current practice of mixing dpkg (single .deb packages), aptitude (work with better service), apt-get (as the standard CLI tool) and Synaptic (GUI tool).

Page 7 of 7 FirstFirst ... 567

Similar Threads

  1. Knoppix Tutorial
    By schock in forum News
    Replies: 10
    Last Post: 11-04-2004, 09:00 AM
  2. apt-get / dpkg error: unable to access dpkg status area
    By Nitromethane1261 in forum General Support
    Replies: 2
    Last Post: 09-15-2004, 12:09 AM
  3. Tutorial
    By Firezone2k in forum General Support
    Replies: 1
    Last Post: 11-26-2003, 05:46 AM
  4. linux tutorial
    By senorian in forum The Lounge
    Replies: 0
    Last Post: 04-12-2003, 08:40 PM
  5. Tutorial Knoppix?
    By mabhatter in forum Ideas
    Replies: 1
    Last Post: 03-04-2003, 07:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W

$2512.18



Dell PowerEdge R640 Server 2x Gold 6150 2.70Ghz 36-Core 256GB 2x 960GB SSD H730P picture

Dell PowerEdge R640 Server 2x Gold 6150 2.70Ghz 36-Core 256GB 2x 960GB SSD H730P

$1737.25



H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 512GB RAM 8x25G NIC 2x2200W picture

H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 512GB RAM 8x25G NIC 2x2200W

$2888.18



Dell PowerEdge R730 Server 2.30Ghz 32-Core 128GB 8x 3TB 12G H730P ESXi 7.0 picture

Dell PowerEdge R730 Server 2.30Ghz 32-Core 128GB 8x 3TB 12G H730P ESXi 7.0

$935.50



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$275.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x Xeon  E5-2620 @ 2.0GHz 64GB RAM NO HDDs picture

Dell PowerEdge R620 Server 2x Xeon E5-2620 @ 2.0GHz 64GB RAM NO HDDs

$108.96



Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2690 v3 2.6ghz 24-Cores 256gb 4x Trays 2x 550w

$289.99



HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45

$355.00