1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PC-BSD/FreeBSD 9.1 PKGNG package repository

Discussion in 'Installation and Maintenance of Ports or Packages' started by Beastie, Apr 7, 2013.

  1. Beastie

    Beastie Member

    Messages:
    1,916
    Likes Received:
    1
    shep posted this on the Daemon Forums. So here it is:
    The repository seems to have packages for all the applications I use. The package versions match what can be seen on Fresh Ports or the ports tree.
     
  2. h3z

    h3z New Member

    Messages:
    88
    Likes Received:
    0
    Very nice.
     
  3. srobert

    srobert Member

    Messages:
    101
    Likes Received:
    0
    This gave me the incentive to finally install PKGNG, which I'd been avoiding. I've installed everything from ports, but it's good to have a working repository of compatible binaries as a backup.
     
  4. caesius

    caesius New Member

    Messages:
    279
    Likes Received:
    0
    Every time someone asks about FreeBSD's packages on Freenode's #freebsd channel, I mention that page. Usually some angry person tells me that FreeBSD is not PCBSD, and noone cares about packages anyway. The was-to-be FreeBSD user normally then leaves in dismay.

    Good move publicising the availability of this repository :)
     
  5. nickednamed

    nickednamed New Member

    Messages:
    125
    Likes Received:
    0
    I'm having trouble understanding what the difference is between using pkg_add or "regular" PKGNG versus PKGNG + PC-BSD repository:

    Is it PC-BSD repository simply updated more frequently? Does it install self-contained applications like "pbi_manager"?
     
  6. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,167
    Likes Received:
    7
    pkg_add(1) is the old package format. PKGNG is the new package format, incompatible with the old. There are separate repositories for both, although the security problem has delayed new packages being built in either format.

    Anyone can build a bunch of packages in either format and make them available. The PCBSD packages are just that, a set of updated pkgng packages.

    PBI is PC-BSD's "fat" package format, where a package includes some or all of the dependencies. So it avoids dependency problems by stuffing the dependencies in with the application, at the cost of using up more disk space.
     
  7. nickednamed

    nickednamed New Member

    Messages:
    125
    Likes Received:
    0
    So will there be any advantage of using the PC-BSD repo after the new PKGNG repo has been brought up to date? Is the PC-BSD repo simply going to be updated more frequently?
     
  8. kpa

    kpa Member

    Messages:
    3,993
    Likes Received:
    5
    Be aware that the PKGNG repos may not be updated that often because they will be on beta status for FreeBSD 9 and that won't change probably ever. PKGNG will be the default package manager for FreeBSD 10 and the official packages for that release will be PKGNG but for FreeBSD 9 it won't be made the default.
     
  9. nickednamed

    nickednamed New Member

    Messages:
    125
    Likes Received:
    0
    Thank you all for your answers. It is much clearer now.

    Any one else who is interested, I also asked more or less the same question on the PCBSD forums and gotthese answers.
     
  10. srobert

    srobert Member

    Messages:
    101
    Likes Received:
    0
  11. pkubaj

    pkubaj Member

    Messages:
    442
    Likes Received:
    1
    9.1-RELEASE was supposed to be the last RELEASE with pkg_* tools as default. 8.4-RELEASE was already supposed to have pkgng as default, although it didn't seem to happen. We'll see about 9.2-RELEASE.
    See https://wiki.freebsd.org/pkgng/CharterAndRoadMap#Road_Map although it's outdated.
     
  12. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,610
    Likes Received:
    11
  13. kpa

    kpa Member

    Messages:
    3,993
    Likes Received:
    5
    The road map has changed somewhat then, originally the intent was to keep the old pkg_* tools as the default in 8.X and 9.X lines. I'm not complaining, however the migration might not be a painless one for everyone using 8.X and 9.X.
     
  14. achix

    achix New Member

    Messages:
    241
    Likes Received:
    0
    Anything more complete than that?

    Just checked and some of the heavy-weight packages firefox, openoffice, kde* seem missing from the PC-BSD repo. Any other option than that? It just sucks having to do a full upgrade and having your boss over your shoulder with unbelievable demands.
     
  15. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,404
    Likes Received:
    0
    Where are you looking?

    I've installed KDE4, Firefox, and OpenOffice from the PC-BSD pkgng repository. It's what my desktop/server is running at home.

    In fact, if you look here, you'll find two versions of Firefox listed, Apache OpenOffice 3.4, and KDE 4.10.3.
     
  16. Beastie

    Beastie Member

    Messages:
    1,916
    Likes Received:
    1
    As @phoenix said, KDE and Firefox (multiple versions) are available.

    I couldn't find OpenOffice though. But there's always LibreOffice (version 4.0.3).
     
    Last edited by a moderator: Oct 16, 2014 at 9:52 PM
  17. achix

    achix New Member

    Messages:
    241
    Likes Received:
    0
    Thanks, it seems I got it set up and running. However I was looking at the obvious directories (www, editors, x11, etc...), where the amount of packages is small. If we sum the numbers of packages in the individual categories (directories) I doubt it will match a tiny fraction of what's available in "All". Any clues to why this is so?
     
  18. achix

    achix New Member

    Messages:
    241
    Likes Received:
    0
    Last edited by a moderator: Oct 16, 2014 at 9:52 PM
  19. achix

    achix New Member

    Messages:
    241
    Likes Received:
    0
    Just an update, just finished building my workstation: have to say, this has been the most impressive moment I had with FreeBSD. I am almost speechless. Now an additional question. Does anyone knows of a pkg repo continuously built from the ports, a la old -STABLE packages?
     
  20. phoenix

    phoenix Moderator Staff Member Moderator

    Messages:
    3,404
    Likes Received:
    0
    The PC-BSD repo is rebuilt weekly.
     
  21. achix

    achix New Member

    Messages:
    241
    Likes Received:
    0
    That is just great. It worked so good, the Ubuntu guy next desk was giving me stares.
     
  22. marwis

    marwis New Member

    Messages:
    65
    Likes Received:
    0
    Unfortunately, this no longer seems to be true, at least not for 9.1-RELEASE. I have www/chromium built from ports
    Code:
    # pkg info | grep chromium
    chromium-29.0.1547.65          Mostly BSD-licensed web browser based on WebKit and Gtk+
    
    When trying to switch to PC-BSD pkgng repository on 9.1-RELEASE, the version would be downgraded to 28.0.1500.95 which is at least five weeks old:
    Code:
    # pkg install -f chromium
    [...]
    	Downgrading chromium: 29.0.1547.65 -> 28.0.1500.95
    
     
  23. Beastie

    Beastie Member

    Messages:
    1,916
    Likes Received:
    1
    I wonder why they dropped support for the i386 architecture. To this day, there are still many people using it. Too bad :(


    I've noticed the same with FreeBSD. For the past few weeks I've been checking the STABLE package repository and it seems most packages are at least a month old.

    Perhaps it's because of the impending release of FreeBSD/PC-BSD 9.2. Just a guess.
     
  24. TroN-0074

    TroN-0074 New Member

    Messages:
    75
    Likes Received:
    0
    I was using the PC-BSD repo to keep all my installed applications up to date it was working fine. But they no longer support 32bit and I haven't been able to upgrade.

    Can somebody please suggest what can I do to upgrade all my applications? I will appreciate it. I have been using # portsnap fetch and # portsnap update but that does nothing to the installed application only update the list of ports from the tree.

    I know there are newer versions of Firefox, Thunderbird and VLC than those I am using

    Thank you I will appreciate it.
     
  25. wblock@

    wblock@ Administrator Staff Member Administrator Moderator Developer

    Messages:
    11,167
    Likes Received:
    7
    Yes, that is all that portsnap(8) does. To actually update those ports, use ports-mgmt/portmaster. Here is an overview: Upgrading FreeBSD Ports.