Advanced search
Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings ESbox
Summary Forums Tracker Lists Tasks News SCM Files Wiki

Bugs: Browse | Download .csv

[#4644] Esbox tries to install Debian packages to Fedora

Please login

State:
Open
Date:
2009-10-07 07:43
Priority:
3
Submitted By:
Arto Hyvarinen (arhyvari)
Assigned To:
Fabricio Epaminondas (fabricioepa)
Summary:
Esbox tries to install Debian packages to Fedora

Detailed description
In Fedora Eclipse select File - New - Maemo Installers - Scratchbox 1 - Maemo 5 Series (Fremantle) - Upgrade the platform
version to Maemo 5 Series (Fremantle)
 

Esbox adds to /etc/apt/sources.list Debian repository.
 
# Added by Fedora Eclipse
deb http://scratchbox.org/debian/ maemo5-sdk main

So Esbox tries to install Debian packages to Fedora.
 

Followup

Message
Date: 2009-12-08 08:19
Sender: Arto Hyvarinen

Verified with Esbox_build.629.
Date: 2009-12-01 18:45
Sender: Fabricio Epaminondas

Fixed at trunk rev 2474
Date: 2009-12-01 18:33
Sender: Fabricio Epaminondas

ok, so in summary, the scratchbox upgrade will be available only
for debian platforms with apt manager, that is how the scratchbox
script works.
Date: 2009-12-01 15:01
Sender: Ed Swartz

I'd recommend updating the check to look for /etc/debian_version
existing too.
Date: 2009-12-01 14:56
Sender: Fabricio Epaminondas

We should fix the mica apt respository management to properly
detect the machine platform it is working. Now it is assuming
that if there is an Apt manager, it is a Debian platform.
Date: 2009-11-27 19:09
Sender: Fabricio Epaminondas

About case 1:  Apt package not installed

The upgrade is not allowed when not using a package manager,
this is the behaviour of installation script we used, so the
option it must hidden, this is right.

- Esbox runs sbox_ctl_stop and fails to unmount diractories
   and installation fails

Please detail the error and the log, this is probably an ESbox
external BUG, but a scrtachbox bug.

About case 2, I will try this.
Date: 2009-11-27 13:57
Sender: Arto Hyvarinen

Tested with Esbox_build.618 and this bug is NOT fixed.

Case 1: Apt package not installed
 - Scratchbox 1 and Diablo targets installed
 - select Scratchbox 1 installer - Maemo 5 Series platform
 - you can only select "Remove previous installation
..."
 - Esbox runs sbox_ctl_stop and fails to unmount diractories
   and installation fails

Case 2: Apt package installed
 - you can also select "Update ... Maemo 5 ..."
 - E: Type 'deb' is not known in on line 4 in source list
/etc/apt/sources.list

Date: 2009-11-26 13:45
Sender: Fabricio Epaminondas

fixed at trunk rev 2459
Date: 2009-11-26 13:04
Sender: Fabricio Epaminondas

You're right, the error remains. It looks like some code was
lost again during last integrations, I will verify the history
for this.
Date: 2009-11-26 11:39
Sender: Arto Hyvarinen

Tested with Esbox_build.613 in Fedora 11.
- apt package not installed (default situation in Fedora 11)
- /etc/apt directory does not exist

Log:
▪ Installing Maemo 5 Series (Fremantle)
▪ Unexpected error:
Cause: org.maemo.esbox.internal.vm.ESboxHostBuildMachineFactory$L
inuxX86BuildMachineWrapper@19e0533 does not support apt
▪ Refreshing installed targets...


- apt package installed manually

/etc/apt/sources.list is empty:
# Add any local / 3rd party repositories here..

Log:
▪ Installing Maemo 5 Series (Fremantle)
▪ Working...
▪ Refreshing package list for Host Machine
E: Type 'deb' is not known in on line 4 in source list
/etc/apt/sources.list
▪ Process 'apt-get -o Acquire::http::Timeout=30 update'
for default exited with code 100
▪ Refreshing installed targets...

/etc/apt/sources.list after failed installation:
# Add any local / 3rd party repositories here..

# Added by Fedora Eclipse
deb http://scratchbox.org/debian/ maemo5-sdk main
Date: 2009-11-25 20:40
Sender: Fabricio Epaminondas

remove the olde /etc/apt/ directory created by the old esbox
build and try again. You can use the same build 613 or newer.
Date: 2009-11-25 15:12
Sender: Ed Swartz

I notice the lines you quote say "Added by Fedora Eclipse".
Does Fedora have an /etc/apt directory?  The existence of this
implies that apt exists too.  This is what we check for.

Does /usr/bin/apt exist?

I assume there is no /etc/debian_version ... if not, we should
check this file and /usr/bin/apt in addition to /etc/apt.
Date: 2009-11-25 14:58
Sender: Arto Hyvarinen

Tested with Esbox_build.613 and this bug is NOT fixed. Nothing
has been changed, still requires apt package and tries to install
Debian packages.
Date: 2009-11-16 19:27
Sender: Fabricio Epaminondas

Fixed at trunk rev 3359

Attached Files:

Name Download
No Files Currently Attached

Changes:

Field Old Value Date By
ResolutionFixed2009-12-08 08:19arhyvari
ResolutionAccepted as a Bug2009-12-01 18:45fabricioepa
ResolutionAwating Response2009-12-01 14:56fabricioepa
ResolutionNone2009-11-27 19:09fabricioepa
ResolutionFixed2009-11-27 13:57arhyvari
ResolutionAccepted as a Bug2009-11-26 13:45fabricioepa
ResolutionAwating Response2009-11-26 13:04fabricioepa
ResolutionNone2009-11-25 20:40fabricioepa
ResolutionFixed2009-11-25 14:58arhyvari
ResolutionNone2009-11-16 19:27fabricioepa
assigned_tonone2009-11-16 11:36fabricioepa

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment