How does pacman handle major software releases?

Hi, to make the question clear.
When for example one has xfce 4.4.2 installed and xfce 4.4.3 comes I assume the upgrade is fairly straight forward since everything in the "meta-package" remains the same.
However, when a major release with big changes comes that's a different issue. The settings up to 4.4.3 where managed by the "mcs-manager" package, but in the upcoming
release the settings will be managed by the "xfce4-settings" package, therefore the old mcs-manager won't be upgraded, but unless told the new one won't be installed,
or will it be? And will the old one be removed or will remain there on the hard drive?
Well, that's the question. I'm not asking to implement a feature or complainig, I just want to know what to expect, and if it's got to be done by hand so be it. It's not that hard.
Thanks.

I disagree with brisbin33. Pacman doesn't check for new members of "groups" after they're installed. There really is no such thing as a "group" once those packages are on your system so I don't think it will detect new packages in the group unless they're specified as a dependencies of other packages, which won't be the case for all packages in the group because that would force the user to install all of the them, thus eliminating the point of having groups to begin with.
This would be solved by having a true way to track installed optdepends so that we could create true metapackages. I've made a suggestion (http://bugs.archlinux.org/task/12708) and so have some others, but it seems that this is not even on the todo list and most of the influential users/devs seem directly opposed to making any such change, even if it means living with the permakludge called "groups". (and yes, I would submit a patch, if I knew C or could hack my way through it well enough)
Last edited by Xyne (2009-02-25 16:32:45)

Similar Messages

  • [solved] How does Pacman handle config files?

    Hi,
    I've read that Pacman handles config files by comparing their hashes in 3 different statuses.
    (which are in current status, new status, and original status)
    The current config file's hash is easily obtained, and so does the new ones'.
    But how does Pacman get the original one's hash?
    Can someone tell me, please?
    Thank you, and happy new year,
    bsdson
    Last edited by bsdson.tw (2008-12-26 07:37:41)

    It is stored in the pacman database.  e.g. look at /var/lib/pacman/local/pacman-3.2.1-2/files

  • [RESOLVED] How does pacman handle empty package directories?

    I started to ask this question after noticing that on a fresh arch64 install, I can't mount usb, because /media does not exist. This directory belongs to core/filesystem. After running pacman -Qk, it also turned out that extra/hicolor-icon-theme lacks some empty dirs:
    ~> pacman -Qk hicolor-icon-theme
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/128x128/devices/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/16x16/actions/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/16x16/status/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/22x22/actions/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/22x22/status/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/24x24/actions/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/24x24/status/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/48x48/actions/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/48x48/status/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/scalable/actions/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/scalable/status/ (No such file or directory)
    hicolor-icon-theme: 343 total files, 11 missing file(s)
    Finally, on another machine:
    ~> pacman -Qk hicolor-icon-theme
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/16x16/categories/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/16x16/status/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/22x22/categories/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/22x22/status/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/24x24/categories/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/24x24/devices/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/24x24/status/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/256x256/apps/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/32x32/categories/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/32x32/status/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/48x48/categories/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/48x48/devices/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/48x48/status/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/scalable/categories/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/scalable/devices/ (No such file or directory)
    warning: hicolor-icon-theme: /usr/share/icons/hicolor/scalable/status/ (No such file or directory)
    hicolor-icon-theme: 343 total files, 16 missing file(s)
    and:
    ~> pacman -Qk ca-certificates
    warning: ca-certificates: /etc/ca-certificates/ (No such file or directory)
    warning: ca-certificates: /etc/ca-certificates/update.d/ (No such file or directory)
    ca-certificates: 163 total files, 2 missing file(s)
    Notice, that the two sets of missing dirs in hicolor-icon-theme are different between two installations. The problem is that on the first installation ca-certificates is OK So, it appears that pacman randomly ignores empty directories in packages.
    There was a timely thread at pacman-dev (http://mailman.archlinux.org/pipermail/ … 12554.html), where a similar issue was reported, but without any conclusion...
    Any ideas? Thanks
    Last edited by Leonid.I (2011-03-02 21:07:09)

    ANOKNUSA wrote:
    Leonid.I wrote:OK, I got it. The problem is indeed related to uninstalling: /media disappeared after removal of hal <snip>
    Several folk had the same problem after upgrading to KDE 4.6; no one seemed sure precisely what the culprit is.  I'm gonna try and reproduce this and check for/file a bug report.  You may have maimed two birds with one stone, Leonid.I
    If you mean hal, then at some point, it creates a data file /media/.hal-mtab, which on old installations (that went through a lot of ext media mounts), saves the dir, even if hal is removed. Of course, a separate question is why does hal contain /media. But otherwise, Allan is right: there is no natural good way of fixing this pacman behavior.
    Last edited by Leonid.I (2011-03-01 19:04:43)

  • How to create blocks on Procedures? How does one handle I/U/D on the block?

    Hello Gurus,
    How to create blocks on Procedures? How does one handle I/U/D on the block?
    Please give an example.
    Thank You,

    Hello Gurus,
    How to create blocks on Procedures? How does one handle I/U/D on the block?
    Please give an example.
    Thank You,

  • How does pacman know how to remove packages?

    I've been looking at the 'Creating Packages' page, and it says to create a pkgbuild I only need to specify the build function. My question is... how does pacman know which files to remove when you do pacman -R? Does it keep track of all the files that were installed via build()?
    Second question: How do you guys keep track of packages that weren't installed via the AUR? For example, if you want to hack on a project and use that hacked copy instead of the one available in the repos, what do you usually do? I'm guessing that I should let pacman keep track of those by creating pkgbuilds for them, naming them something like [packagename]-[version]-myown, and noting that it conflicts with the package in the Arch repos... is this correct?

    When you build a package with makepkg, the build function is responsible for installing the files that will be contained in the package under ${BUILD_DIR}/pkg. That directory will be tar'ed and compacted to make your final package. When you install it with pacman, will be created the file  /var/lib/pacman/local/<name of your package>/files which will list all the files owned by your package. So pacman can know how to remove them when you ask it to be deleted.
    About your 2nd. question, you are quite right. The only correction is that the name of your new package should be something like "package-myown-version". You should put the old name in the conflicts and provides directive of the PKGBUILD. You should read the wiki about ABS. With it, you can get a copy of all PKGBUILDS for your current repositories, so you can change what pleases you more.

  • How does impdp handles external tables

    I am just done with schema import and one of the package is invalid because it is referring the External Table. I am getting the error " Table or View does not exist".
    How does impdp handles external tables ?
    Do we need to replicate the directories and files from the source to imported destination ?
    Thanks

    Hi,
    Yes...
    external table directory not available on imported destination operating system
    You need to create the directories and files from the source to imported destination
    Recompile the invalid package
    Thanks

  • How do I combine my iphone contact list with my laptop pc contact list?  And how does it handle duplicates with different information?

    How do I combine my iphone contact list with my laptop pc contact list? And how does it handle duplicates that have different information?
    How do I merge my iphone calendar appointments/alerts with my laptop pc calendar appointments/alerts?  And how does it handle duplicates?
    I do not need anything to change on my email that is working fine on both.

        gspielman,
    Help has arrived to assist you with getting those contacts on both your devices. The Verizon cloud service is definitely a great tool to use and you can also use Apple iCloud as well. When you sign into the Verizon cloud on your iPad does it give an option or message to restore?
    CandiceH_VZW
    Follow us on Twitter @VZWSupport

  • How does FCP handle 23.98 DV Files?

    Hi All,
    Has anyone Edited using the DV-NTSC 24P (23.98fps) Easy Setup?
    1) How does FCP handle this video connected to a DV Converter Box like the Canopus ADVC-110?
    2) Does it actually play at 23.98fps on a monitor connected to the DV Converter Box?
    3) Does it get converted to 29.97fps somewhere in the process before it gets displayed?
    4) is it displayed at 29.97fps or is it really being displayed at 23.98fps?
    these are things that I am not sure of.
    sorry if I posted this message a couple of times. I didn't know that hitting the "Tab" Button posts the message, I thought it would just function like the Tab in a normal Text editor and indent a line. But here it doesn't.
    thanks
    Kalagan

    Hi,
    Thanks for the feed back. I guess I should fill in the caps a little.
    *DESCRIPTION OF ISSUE:*
    One of our main Clients Disney, is migrating to a Tapeless Workflow based on ProRes HQ 422 @ 23.98fps. From here on out, they will only send us ProRes HQ 422 1920x1080 files @ 23.98fps and they want us to Edit every project we work on for them @ 23.98fps. At the moment, it doesn't sound like they care if we Edit our projects in ProRes HD or some SD format, but the important thing to them is that we edit @ 23.98fps.
    PROBLEM:
    Our facility doesn't have the infrastructure to support 25 machines accessing ProRes HQ 422 files. Our facility was built to support DV NTSC @ 29.97fps and we have been working this way fairly well, for a number of years.
    SOLUTION:
    I am trying to find a way to continue to us our current equipment and satisfy Disney's request to work on all their projects at 23.98fps, starting from 1920x1080 ProRes HQ 422 files @ 23.98fps. So, it was my hope to be able to take the 23.98fps ProRes files and export them to 23.98fps DV NTSC. This way we wouldn't have to reconfigure our entire Facility (which would cost a couple hundred Thousand dollars).
    My approach was to:
    1) Use Media Manager to render a new DV NTSC file at 23.98fps, which it does pretty well for the most part. It keeps the Timecode consistent between the two files (very important), but doesn't allow you to Letterbox the 16x9 video in the 4x3 frame, it just stretches it to fill the entire 4x3 frame (not so good).
    2) Then import the newly created DV NTSC 23.98fps file into a FCP Project based on the DV NTSC 24(p) 23.98fps EASY SETUP. Which works well. No problems there.
    3) Then Play the file in FCP out through a Firewire based Canopus ADVC-110 DV Converter connected to a SD Sony Monitor. This seemed to worked fine also.
    The fact that it plays is great!!!! But, that brings up the question, is it really playing a 23.98fps?
    My understanding of Standard Definition and specifically DV NTSC, is that it can only be displayed at 29.97fps, it doesn't support 23.98fps natively. So the fact that it played when I tested it got me thinking that I may be missing something here and DV NTSC and other SD equipment (like the Sony SD Monitor) can playback/support 23.98fps SD video. But that goes against everything I know up to this point!!!
    Have I been wrong all this time?
    1) Can SD Video and DV NTSC Video be displayed at 23.98fps?
    2) Or is it getting converted to 29.97fps somewhere in the process before it is getting displayed?
    3) If it is getting converted back to 29.97fps, then where is it getting converted, FCP or in the DV Converter Box?
    I am sorry I went a little long on this email, but it is a problem that will have great influence on they way we work for a couple of years to come!!
    Thanks for your input!!
    Kalagan

  • How does JRE handle PKI certificates?

    I've got a bunch of Macs, all running OS X 10.10.2 and JRE 8u31  Most, no problems.  But I've got two on which Java complains about the certificates of at least one web site.  In the browser, the cert is just fine.  Trusted, etc.  Java doesn't think it's trusted.  I didn't have to do anything with keystores or truststores on any of them... install java and it "just works".  So I have no idea what or how Java is handling certs differently than the OS.

    ANOKNUSA wrote:
    Leonid.I wrote:OK, I got it. The problem is indeed related to uninstalling: /media disappeared after removal of hal <snip>
    Several folk had the same problem after upgrading to KDE 4.6; no one seemed sure precisely what the culprit is.  I'm gonna try and reproduce this and check for/file a bug report.  You may have maimed two birds with one stone, Leonid.I
    If you mean hal, then at some point, it creates a data file /media/.hal-mtab, which on old installations (that went through a lot of ext media mounts), saves the dir, even if hal is removed. Of course, a separate question is why does hal contain /media. But otherwise, Allan is right: there is no natural good way of fixing this pacman behavior.
    Last edited by Leonid.I (2011-03-01 19:04:43)

  • How does iphoto4 handle panoramic pictures?

    Hi,
    My plans are to eventually get a camera that takes panoramic shots. Does iphoto4 handle panoramic pictures?
    Thank you

    Forestman,
    From experience, I would suggest you consider buying software that can make panoramas from the photos you take with any decent camera.
    I recommend PhotoShop ($$$) or PhotoShop Elements ($ the consumer version that has everything you will need.) There is surely good and inexpensive or free software out there but I don't use them.
    Panoramas are very tricky. The Kodak manual Keith mentioned hints at that:
    "NOTE:
    For best results, use a tripod. (For a steady shutter release on a tripod, see Using the self-timer.) Only the panoramic picture is saved; individual pictures are not. Picture size is set to 5.0 MP. Exposure and white balance are set with the first picture. The flash is set to Off."
    Exposure, white balance, focal length, camera angles, lighting and focus are critical for getting a seamless panorama. Good editing software can do the stitching together automatically (with good exposures) and give you the options for inevitable cleanup (even with good exposures). The software should also have tools for making those quickie handheld shots stitch (perspective, vanishing point)
    The built in camera panorama feature may be good but it reduces it to a 5MB file.
    That file might not be much better than cropping a high resolution photo to short and wide or skinny and tall.
    Home printing is very limited -- you can only fit so much on a page. You might want to check into online printing services that offer panorama prints and see what the market is.
    Peter

  • How does FCPX handle audio?

    Still working on getting audio exported to an AAF, and having problem doing this.  So I need help understanding how FCPX is handling my audio.
    When it's on the timeline, is it being conformed to the frame rate of the video? 
    When audio is exported, does FCPX force it to conform to the video frame rate in the project settings, audio properties, or both?  Or does it allow the audio to export at whatever rate the original media is at?
    I export an XML from FCPX, then open that with X2Pro and it makes an AAF file, but a report tells me that   "Conform rates are not supported. The Conform rate at 01:04:49.23 has been ignored."  So when I go to that timecode, all I see is video at 24p and a detached audio piece at 23.98.  Why are these different?  How would I fix?

    FINALLY!  Thank you God, this issue is resolved.  Here's what I learned and had to do in case anyone else may be wrestling with this issue.
    Apparently, FCPX handles audio like this:
    • Adjusts varying frame rates to match the project property,  e.g. if you drop footage that is 24, 30, and 60 all on a 24p timeline, FCPX makes them fit into 24p, it does not tell you or show you this, it just does it automatically
    • It may handle detached audio a little differently.  For instance, I had a 24p timeline, and there were 39 detached audio clips that were 23.98 because they were not attached to any video, so I had to reimport and sync, see the workaround below.
    The X2Pro, program to convert FCPXML to AAF, spits out a report showing where all the conform errors were, 39 total, but still required calculating where exactly it was because it didn't identify precisely by frames.  Once the offending detached audio clip was located, I then Expanded the Audio Components to see both the original and synchronized audio.  Next I had to go find the external audio that had been synced, then do a replace edit on the old synchronized clip.  This made the audio's video frame rate 24 and took away the conform errors!  Then I had to sync up  the new detached audio clip manually with the video clips above it. 
    Also, to get out to an AAF with X2Pro, it does not support retiming, so I had to strip out 22 instances of retiming.
    Whew, glad that's all over!  Hopefully this AAF will be pristine for my audio post supervisor to bring into ProTools!
    Thank you all for your help and input along the way!

  • How does IDP handle multi-value attributes in directory?

    I have a directory referenced by the IDP where the mail attribute is multi-value. Assertions being received by the SP are indicating that the mail attribute is null or empty. How does the Oracle IDP handle multi-value attributes from a directory? Is there a way to select the first entry in an array of multi-values?

    On the IdP side, passing of multi-valued attributes is supported. Read this section:
    http://download.oracle.com/docs/cd/E10773_01/doc/oim.1014/b25355/configuring.htm#BCGCGFCJ
    Snippet (under 'Delimited Data'):
    "In addition to supporting and passing multi-valued attributes, Oracle Identity Federation can also support delimited data to provide multiple values for assertion attributes ......"
    This information is also available on the OIF screen for 'Add Assertion Profile'.
    On the SP side, mapping a multi-valued assertion attribute to a local user attribute is NOT supported. Read this section:
    http://download.oracle.com/docs/cd/E10773_01/doc/oim.1014/b25355/configuring.htm#BCGGEAEA
    Snippet (under Submit/Reset button):
    "Note: Mapping an assertion attribute containing multiple values to a local user is not supported."
    So, basically, there is no way to send only the first value of an LDAP attribute.
    -shetty2k

  • MappedByteBuffer - How does it handle the physical memory?

    Hello!
    I have some question regarding the java.nio.MappedByteBuffer class. I am wondering how does it exactly handle the physical memory.
    As first, I guess when I map a file into the the memory it does not mean that the whole file is being read into the physical memory. Am I right?
    My second question is, if I map more files into the memory, is there a real danger that I will get an out-of-memory exception? Is available any official resource about the memory management of this class?
    And my third question is, what is more efficient way at all, to use the MappedByteBuffer class or to use a FileChannel?
    I am looking forward to your replies!

    Tomi1226 wrote:
    I have some question regarding the java.nio.MappedByteBuffer class. I am wondering how does it exactly handle the physical memory.Java maps the file into virtual memory, the OS determines how to translate virtual memory into physical memory. Java has no control over how the OS does this, nor should it need to.
    As first, I guess when I map a file into the the memory it does not mean that the whole file is being read into the physical memory. Am I right?True, map != read or what would be the point.
    My second question is, if I map more files into the memory, is there a real danger that I will get an out-of-memory exception? An out of memory ERROR occurs when you run out of heap space. If you create enough file maps you are likely to run out of file handles or some other resourfe before you run out of heap.
    Exception != Error.
    Is available any official resource about the memory management of this class?Which class?
    And my third question is, what is more efficient way at all, to use the MappedByteBuffer class or to use a FileChannel?It depends on what you are doing.

  • How does Aperture handle file structure

    I have been working with iPhoto since its infancy and have one big issue with it, namely that it is such a closed system. I dislike that everything needs to be imported and exported to use it elsewhere, clogging up my computer with all these duplicates. Does Aperture handle that better? I spent 2 hours reading different reviews and discussions and for some reason, nobody seems to discuss exactly that, maybe most people don't mind to have a vault structure? If so, how do you handle sharing files outside of the tools like Facebook export etc that are offered?
    Thanks ~ Barb

    namely that it is such a closed system.
    It's not. It's a Database and this
    everything needs to be imported...
    is a characteristic of databases. This
    and exported to use it elsewhere
    is just not true if you use any of the very many ways that the OS and other applications integrate with iPhoto. I rarely, if ever, exported from iPhoto when it was my primary Photo app.
    The point is not to defend iPhoto, but if the database aspect of it irritates you then run a mile from Aperture. Everything has to be imported and can be accessed only in (pretty much) the same ways as they can be in iPhoto.
    how do you handle sharing files outside of the tools like Facebook export etc that are offered?
    Here's a stock answer I use over on the iPhoto forum. You can pretty much swap the word 'Aperture' for iPhoto:
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 and later*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    +*(Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)+*
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Regards
    TD

  • How does WTK handle chunked HTTPConnections via POST?

    Hi,
    I am using
    HttpConnection hc = (HttpConnection) Connector.open(url);
    hc.setRequestMethod(hc.POST);
    to send bytes to a PHP-Skript. Header "Content-Length" is set to the exact value. It is greater than 2KB. I found out that:
    a) If you set WTK-Preferences to HTTP/1.0 everything works fine.
    b) But using HTTP/1.1 will get a 441 (Content-Length is missing)-Error from my script.
    -> And the body is split up to chunks. Alongside with this, the WTK will drop my "Content-Length"-Header and replace it with "Transfer-Encoding: chunked". So,.. Eric D. Larson from SUN has wrote a mysterious article ( http://developers.sun.com/techtopics/mobility/midp/questions/chunking/ ), which left huge spaces in understanding this. What`s exactly the WTK doing here? All message-bodys greater than 2KB are forced to split to chunks. But how does the WTK exactly do this? Is there a BUG in WTK?
    As RFC states: chunks must divided with 2 length bytes etc. But the WTK does not do that. It only breaks up the body into chunks and replaces some header! I have tested several servers which are using HTTP/1.1, none of them was able to handle WTKs Requests... But if you are using other Emulators, for e.g. from Nokia (6230, 6230i) then everything works fine, but of course Nokia is sending out no chunks ;-))
    So to add some serious questions:
    1. Do I have do set some special headers if I have to deal with chunked requests? Server has to understand it... Or does WTK correctly and I have to use Tomcat only ;-)
    2. Is there a way to force a midlet to use HTTP/1.0? setRequestProperty("Version", "HTTP/1.0") seems to be ignored.
    3. Does anybody ever sent Bytes >2KB using HTTP/1.1 succesfully to a standard server??
    Hope that someone can help...!

    chunked should go just fine.
    Forget the Content-Length. Never ever set it with a script it you know chunked is used.
    Then: just read the api cods:
    HttpConnection c = null;
             InputStream is = null;
             try {
                 c = (HttpConnection)Connector.open(url);
                 // Getting the InputStream will open the connection
                 // and read the HTTP headers. They are stored until
                 // requested.
                 is = c.openInputStream();
                 // Get the ContentType
                 String type = c.getType();
                 // Get the length and process the data
                 int len = (int)c.getLength();
                 if (len > 0) {
                     byte[] data = new byte[len];
                     int actual = is.read(data);
                 } else {
                     int ch;
                     while ((ch = is.read()) != -1) {
             } finally {
                 if (is != null)
                     is.close();
                 if (c != null)
                     c.close();
             }Should work just fine!

Maybe you are looking for