On Tue, 18 Sep 2007 11:39:14 -0400
"Alexander K. Hansen" <[EMAIL PROTECTED]> wrote:

> Kevin Horton wrote:
> > On Tue, 18 Sep 2007 10:57:56 -0400
> > "Alexander K. Hansen" <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> Kevin Horton wrote:
> >>     
> >>> I intend to take over bluefish, and update it to the latest stable 
> >>> version.  But I want to resolve what I perceive as a confusing name of 
> >>> one of the variants.  At version 1.0.6, one of the variants is 
> >>> bluefish-gnomevfs2, which is bluefish with gnome2, but without VFS.  I 
> >>> want to replace this variant with one named bluefish-gnome2-novfs.  I 
> >>> first asked about this a while back, and I got two suggestions.  I've 
> >>> tried both, but neither seems completely acceptable.  The one that works 
> >>> the best is to create a new .info file for bluefish-gnomevfs2, which 
> >>> depends on bluefish-gnome2-novfs.  The relevant portions are:
> >>>
> >>> Package: bluefish-gnomevfs2
> >>> Version: 1.0.7
> >>> Revision: 1000
> >>> Source: none
> >>> Depends: fink-obsolete-packages, bluefish-gnome2-novfs (>= 1.0.7-1000)
> >>> CompileScript: #
> >>> InstallScript: <<
> >>>   mkdir -p %i/share/doc/installed-packages
> >>>   touch %i/share/doc/installed-packages/%n
> >>> <<
> >>>
> >>> bluefish.info at 1.0.1-1000 has:
> >>> Package: bluefish%type_pkg[bluefish]
> >>> Type: bluefish (. -gnome2 -gnome2-novfs)
> >>> Version: 1.0.7
> >>> Revision: 1000
> >>> Replaces: bluefish, bluefish-gnome2, bluefish-gnome2-novfs, 
> >>> bluefish-gnomevfs2
> >>> Conflicts: bluefish, bluefish-gnome2, bluefish-gnomevfs2
> >>>
> >>> If bluefish-gnomevfs2-1.0.6 is installed, and I do a "fink update-all", 
> >>> the result is:
> >>> % fink update-all                      
> >>> Scanning package description files..........
> >>> Information about 7429 packages read in 6 seconds.
> >>> The package 'bluefish-gnomevfs2' will be installed.
> >>> Reading dependency for bluefish-gnomevfs2-1.0.7-1000...
> >>> The package 'bluefish-gnome2-novfs' will be installed.
> >>> Reading dependency for bluefish-gnome2-novfs-1.0.7-1000...
> >>> The following package will be installed or updated:
> >>>  bluefish-gnomevfs2
> >>> The following additional package will be installed:
> >>>  bluefish-gnome2-novfs
> >>> Do you want to continue? [Y/n] 
> >>> Reading buildlock packages...
> >>>         All buildlocks accounted for.
> >>> /sw/bin/dpkg-lockwait -i 
> >>> /sw/fink/dists/local/main/binary-darwin-powerpc/bluefish-gnome2-novfs_1.0.7-1000_darwin-powerpc.deb
> >>> dpkg: considering removing bluefish-gnomevfs2 in favour of 
> >>> bluefish-gnome2-novfs ...
> >>> dpkg: yes, will remove bluefish-gnomevfs2 in favour of 
> >>> bluefish-gnome2-novfs.
> >>> (Reading database ... 109721 files and directories currently installed.)
> >>> Unpacking bluefish-gnome2-novfs (from 
> >>> .../bluefish-gnome2-novfs_1.0.7-1000_darwin-powerpc.deb) ...
> >>> Setting up bluefish-gnome2-novfs (1.0.7-1000) ...
> >>>
> >>> Reading buildlock packages...
> >>>         All buildlocks accounted for.
> >>>
> >>> While trying to install:
> >>>   bluefish-gnomevfs2-1.0.7-1000
> >>>
> >>> The following inconsistencies found:
> >>>   bluefish-gnome2-novfs conflicts with bluefish-gnomevfs2, but 
> >>> bluefish-gnomevfs2 is installed
> >>>
> >>> Trying to resolve dependencies...
> >>> Could not resolve inconsistent dependencies!
> >>>
> >>> Fink isn't sure how to install the above packages safely. You may be able 
> >>> to fix things by running:
> >>>
> >>>   fink scanpackages
> >>>   sudo apt-get update
> >>>   sudo apt-get install bluefish-gnomevfs2=1.0.7-1000
> >>>
> >>> Failed: Fink::SysState: Could not resolve inconsistent dependencies
> >>>
> >>>  % fink list -i bluefish                
> >>> Information about 7429 packages read in 1 seconds.
> >>>  i   bluefish-gnome2-novfs       1.0.7-1000           Web-oriented text 
> >>> editor
> >>>
> >>> ==================================
> >>> Running the suggested resolution results in:
> >>>  % sudo apt-get install bluefish-gnomevfs2=1.0.7-1000
> >>> Reading Package Lists... Done
> >>> Building D % sudo apt-get install bluefish-gnomevfs2=1.0.7-1000
> >>> Reading Package Lists... Done
> >>> Building Dependency Tree... Done
> >>> Some packages could not be installed. This may mean that you have
> >>> requested an impossible situation or if you are using the unstable
> >>> distribution that some required packages have not yet been created
> >>> or been moved out of Incoming.
> >>>
> >>> Since you only requested a single operation it is extremely likely that
> >>> the package is simply not installable and a bug report against
> >>> that package should be filed.
> >>> The following information may help to resolve the situation:
> >>>
> >>> Sorry, but the following packages have unmet dependencies:
> >>>   bluefish-gnomevfs2: Depends: bluefish-gnome2-novfs but it is not going 
> >>> to be installed
> >>> E: Sorry, broken packages
> >>> ependency Tree... Done
> >>> Some packages could not be installed. This may mean that you have
> >>> requested an impossible situation or if you are using the unstable
> >>> distribution that some required packages have not yet been created
> >>> or been moved out of Incoming.
> >>>
> >>> Since you only requested a single operation it is extremely likely that
> >>> the package is simply not installable and a bug report against
> >>> that package should be filed.
> >>> The following information may help to resolve the situation:
> >>>
> >>> Sorry, but the following packages have unmet dependencies:
> >>>   bluefish-gnomevfs2: Depends: bluefish-gnome2-novfs but it is not going 
> >>> to be installed
> >>> E: Sorry, broken packages
> >>> ===================================================
> >>> Why do I end up with inconsistent dependencies?  Is there a smoother way 
> >>> to do this?
> >>>
> >>> Thanks for your advice,
> >>>
> >>> Kevin Horton
> >>>
> >>>   
> >>>       
> >> I think if you don't Conflict/Replace the bluefish-gnomevfs2 dummy 
> >> upgrade package it will work.  So you'd probably want
> >>
> >> Replaces: bluefish, bluefish-gnome2, bluefish-gnome2-novfs, 
> >> bluefish-gnomevfs2 ( << 1.0.7-1)
> >> Conflicts: bluefish, bluefish-gnome2, bluefish-gnomevfs2 ( << 1.0.7-1 )
> >>
> >>     
> >
> > That doesn't do it either:
> >
> > % fink update-all
> > Waiting up to 300 seconds for another Fink's indexing to finish... done.
> > Information about 7429 packages read in 1 seconds.
> > The package 'bluefish-gnomevfs2' will be installed.
> > Reading dependency for bluefish-gnomevfs2-1.0.7-1000...
> > The package 'bluefish-gnome2-novfs' will be installed.
> > Reading dependency for bluefish-gnome2-novfs-1.0.7-1000...
> > The following package will be installed or updated:
> >  bluefish-gnomevfs2
> > The following additional package will be installed:
> >  bluefish-gnome2-novfs
> > Do you want to continue? [Y/n]
> > Reading buildlock packages...
> >         All buildlocks accounted for.
> > /sw/bin/dpkg-lockwait -i 
> > /sw/fink/dists/local/main/binary-darwin-powerpc/bluefish-gnome2-novfs_1.0.7-1000_darwin-powerpc.deb
> > Selecting previously deselected package bluefish-gnome2-novfs.
> > dpkg: considering removing bluefish-gnomevfs2 in favour of 
> > bluefish-gnome2-novfs ...
> > dpkg: yes, will remove bluefish-gnomevfs2 in favour of 
> > bluefish-gnome2-novfs.
> > (Reading database ... 109721 files and directories currently installed.)
> > Unpacking bluefish-gnome2-novfs (from 
> > .../bluefish-gnome2-novfs_1.0.7-1000_darwin-powerpc.deb) ...
> > Setting up bluefish-gnome2-novfs (1.0.7-1000) ...
> >
> > Reading buildlock packages...
> >         All buildlocks accounted for.
> >
> > While trying to install:
> >   bluefish-gnomevfs2-1.0.7-1000
> >
> > The following inconsistencies found:
> >   bluefish-gnome2-novfs conflicts with bluefish-gnomevfs2, but 
> > bluefish-gnomevfs2 is installed
> >
> > Trying to resolve dependencies...
> >
> > Solution found. Will install extra packages:
> >   bluefish-gnome2-novfs-1.0.7-1000
> > /sw/bin/dpkg-lockwait -i 
> > /sw/fink/dists/local/main/binary-darwin-powerpc/bluefish-gnomevfs2_1.0.7-1000_darwin-powerpc.deb
> >  
> > /sw/fink/dists/local/main/binary-darwin-powerpc/bluefish-gnome2-novfs_1.0.7-1000_darwin-powerpc.deb
> > dpkg: considering removing bluefish-gnome2-novfs in favour of 
> > bluefish-gnomevfs2 ...
> > dpkg: yes, will remove bluefish-gnome2-novfs in favour of 
> > bluefish-gnomevfs2.
> > (Reading database ... 109721 files and directories currently installed.)
> > Unpacking bluefish-gnomevfs2 (from 
> > .../bluefish-gnomevfs2_1.0.7-1000_darwin-powerpc.deb) ...
> > dpkg: considering removing bluefish-gnomevfs2 in favour of 
> > bluefish-gnome2-novfs ...
> > bluefish-gnomevfs2 is not properly installed - ignoring any dependencies on 
> > it.
> > dpkg: yes, will remove bluefish-gnomevfs2 in favour of 
> > bluefish-gnome2-novfs.
> > Unpacking bluefish-gnome2-novfs (from 
> > .../bluefish-gnome2-novfs_1.0.7-1000_darwin-powerpc.deb) ...
> > /sw/bin/dpkg: error processing bluefish-gnomevfs2 (--install):
> >  no package named `bluefish-gnomevfs2' is installed, cannot configure
> > /sw/bin/dpkg: error processing bluefish-gnome2-novfs (--install):
> >  package bluefish-gnome2-novfs is not ready for configuration
> >  cannot configure (current status `config-files')
> > Errors were encountered while processing:
> >  bluefish-gnomevfs2
> >  bluefish-gnome2-novfs
> > ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> > Failed: can't batch-install packages: 
> > /sw/fink/dists/local/main/binary-darwin-powerpc/bluefish-gnomevfs2_1.0.7-1000_darwin-powerpc.deb
> >  
> > /sw/fink/dists/local/main/binary-darwin-powerpc/bluefish-gnome2-novfs_1.0.7-1000_darwin-powerpc.deb
> >
> > =====================
> > The dpkg errors when trying to configure the packages are maybe important, 
> > but I haven't figured out what they mean yet.
> >
> > Kevin Horton
> >   
> Did you rebuild bluefish-gnome2-novfs?  It looks like it's still trying 
> to replace bluefish-gnomevfs2.
> 
Good point.  I rebuild bluefish-gnome2-novfs, and now I get:
% fink update-all
Information about 7429 packages read in 1 seconds.
The package 'bluefish-gnomevfs2' will be installed.
Reading dependency for bluefish-gnomevfs2-1.0.7-1000...
The package 'bluefish-gnome2-novfs' will be installed.
Reading dependency for bluefish-gnome2-novfs-1.0.7-1000...
The following package will be installed or updated:
 bluefish-gnomevfs2
The following additional package will be installed:
 bluefish-gnome2-novfs
Do you want to continue? [Y/n]
Reading buildlock packages...
        All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i 
/sw/fink/dists/local/main/binary-darwin-powerpc/bluefish-gnome2-novfs_1.0.7-1000_darwin-powerpc.deb
dpkg: considering removing bluefish-gnomevfs2 in favour of 
bluefish-gnome2-novfs ...
dpkg: yes, will remove bluefish-gnomevfs2 in favour of bluefish-gnome2-novfs.
(Reading database ... 109721 files and directories currently installed.)
Unpacking bluefish-gnome2-novfs (from 
.../bluefish-gnome2-novfs_1.0.7-1000_darwin-powerpc.deb) ...
Setting up bluefish-gnome2-novfs (1.0.7-1000) ...

Reading buildlock packages...
        All buildlocks accounted for.
/sw/bin/dpkg-lockwait -i 
/sw/fink/dists/local/main/binary-darwin-powerpc/bluefish-gnomevfs2_1.0.7-1000_darwin-powerpc.deb
dpkg: considering removing bluefish-gnome2-novfs in favour of 
bluefish-gnomevfs2 ...
dpkg: yes, will remove bluefish-gnome2-novfs in favour of bluefish-gnomevfs2.
(Reading database ... 109721 files and directories currently installed.)
Unpacking bluefish-gnomevfs2 (from 
.../bluefish-gnomevfs2_1.0.7-1000_darwin-powerpc.deb) ...
dpkg: dependency problems prevent configuration of bluefish-gnomevfs2:
 bluefish-gnomevfs2 depends on bluefish-gnome2-novfs; however:
  Package bluefish-gnome2-novfs is not installed.
/sw/bin/dpkg: error processing bluefish-gnomevfs2 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 bluefish-gnomevfs2
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package bluefish-gnomevfs2-1.0.7-1000

I'll be off line for a few hours.

Kevin Horton

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to