sources.list austauschen

Warum Debian und/oder eine seiner Spielarten? Was muss ich vorher wissen? Wo geht es nach der Installation weiter?
Antworten
tuxfreund
Beiträge: 58
Registriert: 01.12.2009 19:19:46

sources.list austauschen

Beitrag von tuxfreund » 06.07.2014 19:14:17

Liebes Forum,
ich möchte eine fortgeschrittene Grundsatzfrage stellen und bitte Euch um Hilfe:

Ist es möglich, nach erfolgreicher Installation, die /etc/apt/sources.list zu ersetzen mit der von ubuntu?

Danke im Voraus.

Radfahrer

Re: sources.list austauschen

Beitrag von Radfahrer » 06.07.2014 19:15:56

Hä?
Wenn du das willst, warum installierst du denn kein Ubuntu?

Also: Nein, das ist nicht möglich, denn du hast Debian installiert, nicht Ubuntu..

charno
Beiträge: 636
Registriert: 28.06.2004 20:24:34

Re: sources.list austauschen

Beitrag von charno » 06.07.2014 19:17:32

Die Frage ist, was du damit erreichen willst.

Kannst du die Datei austauschen? Ja, ist ja nur ein wenig Text auf der Festplatte.

Kannst du damit ein Debian in ein Ubuntu umwandeln? Ich bezweifle es, wäre allerdings ein spannendes Experiment.

Und ansonsten schliesse ich mich der Frage meines Vorposters an.
"Wer sich nicht bewegt, spürt seine Fesseln nicht." - Rosa Luxemburg

Benutzeravatar
KBDCALLS
Moderator
Beiträge: 22455
Registriert: 24.12.2003 21:26:55
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Dortmund
Kontaktdaten:

Re: sources.list austauschen

Beitrag von KBDCALLS » 06.07.2014 19:37:56

charno hat geschrieben:
Kannst du damit ein Debian in ein Ubuntu umwandeln? Ich bezweifle es, wäre allerdings ein spannendes Experiment.

Und ansonsten schliesse ich mich der Frage meines Vorposters an.
Außer Chaos dürfte dabei nicht viel herauskommen. Außer das das auf ne Neuinstallation hinausläuft.
Was haben Windows und ein Uboot gemeinsam?
Kaum macht man ein Fenster auf, gehen die Probleme los.

EDV ist die Abkürzung für: Ende der Vernunft

Bevor du einen Beitrag postest:
  • Kennst du unsere Verhaltensregeln
  • Lange Codezeilen/Logs gehören nach NoPaste, in Deinen Beitrag dann der passende Link dazu.

Benutzeravatar
towo
Beiträge: 4552
Registriert: 27.02.2007 19:49:44
Lizenz eigener Beiträge: GNU Free Documentation License

Re: sources.list austauschen

Beitrag von towo » 06.07.2014 19:52:22

Naja, viel mehr chaos, als laut dem anderen Thread das init-system auszutauchen, ergibt dies hier sicherlich auch nicht ;)

Benutzeravatar
Patsche
Beiträge: 3263
Registriert: 21.06.2013 01:47:54
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: /home/10001101001

Re: sources.list austauschen

Beitrag von Patsche » 06.07.2014 19:54:34

towo hat geschrieben:Naja, viel mehr chaos, als laut dem anderen Thread das init-system auszutauchen
^^ Leider muss man das mit Xfce zwingendermaßen, bzw. bekommt das durch Updates automatisch umgestellt. Wahrscheinlich mit LXDE genauso.

Benutzeravatar
towo
Beiträge: 4552
Registriert: 27.02.2007 19:49:44
Lizenz eigener Beiträge: GNU Free Documentation License

Re: sources.list austauschen

Beitrag von towo » 06.07.2014 19:56:28

In dem Thred geht es nicht um sysv ==> systemd, sondern $User will simpleinit von slackware in sein Debian prügeln.
Dieses Vorhaben dürfte aber genau so schiefgehen, wie eine Umstellung der Sourcen auf Ubuntu.

Benutzeravatar
Patsche
Beiträge: 3263
Registriert: 21.06.2013 01:47:54
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: /home/10001101001

Re: sources.list austauschen

Beitrag von Patsche » 06.07.2014 19:58:22

Ach ja, habe es eben erst gelesen. Danke für den Hinweis.

uname
Beiträge: 12474
Registriert: 03.06.2008 09:33:02

Re: sources.list austauschen

Beitrag von uname » 06.07.2014 20:00:53

Am besten einfach alles ausprobieren. Entweder Testsystem, virtuelles System oder Live-System.

agaida
Beiträge: 16
Registriert: 12.10.2010 15:46:39
Wohnort: Bielefeld
Kontaktdaten:

Re: sources.list austauschen

Beitrag von agaida » 06.07.2014 21:22:30

mir fallen da noch 2 Sachen für das init ein:
a) slackware benutzen - das dürfte die init-Problematik radikal lösen
b) openrc - moderner als sysv und eventuell eine gangbare Alternative
Alle meine Beiträge stehen unter WTFPL

tuxfreund
Beiträge: 58
Registriert: 01.12.2009 19:19:46

Re: sources.list austauschen

Beitrag von tuxfreund » 07.07.2014 20:09:50

Ich bedanke mich für die Antworten. Nun, es war nur so ein Gedankenexperiment. Leider bleibt meine Frage offen. Ich möchte nicht ein Debian in Ubuntu verwandeln. Vielmehr zielt meine Frage nach einer Hybridlösung. Ist das überhaupt denkbar und umsetzbar? Kann man ein Debian Grundsystem beibehalten, und für aktuelle Software ins ubuntu-repo switchen? Gruss

Benutzeravatar
towo
Beiträge: 4552
Registriert: 27.02.2007 19:49:44
Lizenz eigener Beiträge: GNU Free Documentation License

Re: sources.list austauschen

Beitrag von towo » 07.07.2014 20:16:38

Ich weiss ja nicht, was an den Antworten nicht zu verstehen war/ist.
Aber nochmal zum mitmeisseln:
Ist das überhaupt denkbar und umsetzbar
Nein.
Kann man ein Debian Grundsystem beibehalten, und für aktuelle Software ins ubuntu-repo switchen?
Nein.

uname
Beiträge: 12474
Registriert: 03.06.2008 09:33:02

Re: sources.list austauschen

Beitrag von uname » 07.07.2014 20:21:59

Ich habe mal ein Crunchbang Live genommen (Waldorf und Wheezy-Quellen) und habe die Ubuntu-Quellen sowie die entsprechenden GPG-Keys hinzugefügt.

Ich habe mal versucht Firefox zu installieren. Das gibt es bei Crunchbang Linux nicht, da es sich auch dort Iceweasel nennt.

Code: Alles auswählen

apt-get install firefox
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  aptdaemon dh-python gir1.2-freedesktop gir1.2-glib-2.0 glib-networking glib-networking-common glib-networking-services libapt-inst1.5 libapt-pkg4.12 libc-dev-bin libc6
  libc6-dev libcairo2 libdb5.3 libdbusmenu-glib4 libdbusmenu-gtk4 libffi6 libgirepository-1.0-1 libglib2.0-0 libgraphite2-3 libharfbuzz0b libmpdec2 libpango-1.0-0
  libpango1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangox-1.0-0 libpangoxft-1.0-0 libpixman-1-0 libproxy1 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib
  locales python-aptdaemon python-aptdaemon.gtk3widgets python-gi python-gobject python3 python3-apt python3-aptdaemon python3-dbus python3-defer python3-gi python3-minimal
  python3-pkg-resources python3.4 python3.4-minimal xul-ext-ubufox
Suggested packages:
  glibc-doc ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp python-gi-cairo python3-doc python3-tk python3-apt-dbg
  python-apt-doc python-dbus-doc python3-dbus-dbg python3-setuptools python3.4-doc binfmt-support
Recommended packages:
  lintian
The following packages will be REMOVED:
  libc6-i686
The following NEW packages will be installed:
  dh-python firefox libdb5.3 libdbusmenu-glib4 libdbusmenu-gtk4 libffi6 libgraphite2-3 libharfbuzz0b libmpdec2 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
  libpangox-1.0-0 libpangoxft-1.0-0 libproxy1 libpython3-stdlib libpython3.4-minimal libpython3.4-stdlib python3 python3-apt python3-aptdaemon python3-dbus python3-defer
  python3-gi python3-minimal python3-pkg-resources python3.4 python3.4-minimal xul-ext-ubufox
The following packages will be upgraded:
  aptdaemon gir1.2-freedesktop gir1.2-glib-2.0 glib-networking glib-networking-common glib-networking-services libapt-inst1.5 libapt-pkg4.12 libc-dev-bin libc6 libc6-dev
  libcairo2 libgirepository-1.0-1 libglib2.0-0 libpango1.0-0 libpixman-1-0 locales python-aptdaemon python-aptdaemon.gtk3widgets python-gi python-gobject
21 upgraded, 29 newly installed, 1 to remove and 772 not upgraded.
Need to get 47.0 MB of archives.
After this operation, 81.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Beim Installieren wurde irgendwie libc6 neu installiert und z.B. cron neu gestartet.

Dann ging es so weiter:

Code: Alles auswählen

Setting up gir1.2-freedesktop (1.40.0-1) ...
dpkg: dependency problems prevent configuration of python-gi:
 python-gi depends on python:any (>= 2.7.1-0ubuntu2).

dpkg: error processing python-gi (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-aptdaemon:
 python-aptdaemon depends on python:any (>= 2.7.1-0ubuntu2).
 python-aptdaemon depends on python-gi; however:
  Package python-gi is not configured yet.

dpkg: error processing python-aptdaemon (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-aptdaemon.gtk3widgets:
 python-aptdaemon.gtk3widgets depends on python-aptdaemon (= 1.1.1-1ubuntu5); however:
  Package python-aptdaemon is not configured yet.
 python-aptdaemon.gtk3widgets depends on python-gi; however:
  Package python-gi is not configured yet.

dpkg: error processing python-aptdaemon.gtk3widgets (--configure):
 dependency problems - leaving unconfigured
Setting up libpixman-1-0:i386 (0.30.2-2ubuntu1) ...
Setting up libcairo2:i386 (1.13.0~20140204-0ubuntu1) ...
Setting up libdbusmenu-glib4:i386 (12.10.3+14.04.20140319-0ubuntu1) ...
Setting up libgraphite2-3:i386 (1.2.4-1ubuntu1) ...
Setting up libharfbuzz0b:i386 (0.9.27-1) ...
Setting up libpango-1.0-0:i386 (1.36.3-1ubuntu1) ...
Setting up libpangoft2-1.0-0:i386 (1.36.3-1ubuntu1) ...
Setting up libpangocairo-1.0-0:i386 (1.36.3-1ubuntu1) ...
Setting up libpangoxft-1.0-0:i386 (1.36.3-1ubuntu1) ...
Setting up libpangox-1.0-0:i386 (0.0.2-4ubuntu1) ...
Setting up libpango1.0-0:i386 (1.36.3-1ubuntu1) ...
Setting up libdbusmenu-gtk4:i386 (12.10.3+14.04.20140319-0ubuntu1) ...
Setting up firefox (30.0+build1-0ubuntu0.14.04.3) ...
Please restart all running instances of firefox, or you will experience problems.
dpkg: dependency problems prevent configuration of python-gobject:
 python-gobject depends on python-gi (>= 3.12.0-1); however:
  Package python-gi is not configured yet.

dpkg: error processing python-gobject (--configure):
 dependency problems - leaving unconfigured
Setting up python3 (3.4.0-0ubuntu2) ...
running python rtupdate hooks for python3.4...
running python post-rtupdate hooks for python3.4...
Setting up python3-apt (0.9.3.5) ...
Setting up python3-defer (1.0.6-2build1) ...
Setting up python3-dbus (1.2.0-2build2) ...
Setting up python3-gi (3.12.0-1) ...
Setting up python3-pkg-resources (3.3-1ubuntu1) ...
Setting up python3-aptdaemon (1.1.1-1ubuntu5) ...
Setting up aptdaemon (1.1.1-1ubuntu5) ...
Setting up xul-ext-ubufox (2.8ubuntu1) ...
Setting up dh-python (1.20140128-1ubuntu8) ...
Processing triggers for menu ...
Errors were encountered while processing:
 python-gi
 python-aptdaemon
 python-aptdaemon.gtk3widgets
 python-gobject
E: Sub-process /usr/bin/dpkg returned an error code (1)
Dann war ziemlich viel hinüber. Aber das kann man ja versuchen reparieren zu lassen. Manchmal funktioniet das:

Code: Alles auswählen

apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib python python-minimal python2.7 python2.7-minimal
Suggested packages:
  python-doc python-tk python2.7-doc binfmt-support
The following NEW packages will be installed:
  libpython-stdlib libpython2.7-minimal libpython2.7-stdlib
The following packages will be upgraded:
  libpython2.7 python python-minimal python2.7 python2.7-minimal
5 upgraded, 3 newly installed, 0 to remove and 767 not upgraded.
4 not fully installed or removed.
Need to get 4,612 kB of archives.
After this operation, 942 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://de.archive.ubuntu.com/ubuntu/ trusty/main libpython2.7 i386 2.7.6-8 [981 kB]
Get:2 http://de.archive.ubuntu.com/ubuntu/ trusty/main python2.7 i386 2.7.6-8 [197 kB]
Get:3 http://de.archive.ubuntu.com/ubuntu/ trusty/main python2.7-minimal i386 2.7.6-8 [1,118 kB]
Get:4 http://de.archive.ubuntu.com/ubuntu/ trusty/main libpython2.7-minimal i386 2.7.6-8 [306 kB]
Get:5 http://de.archive.ubuntu.com/ubuntu/ trusty/main libpython2.7-stdlib i386 2.7.6-8 [1,842 kB]
Get:6 http://de.archive.ubuntu.com/ubuntu/ trusty/main python i386 2.7.5-5ubuntu3 [133 kB]                                                                                   
Get:7 http://de.archive.ubuntu.com/ubuntu/ trusty/main python-minimal i386 2.7.5-5ubuntu3 [27.5 kB]                                                                          
Get:8 http://de.archive.ubuntu.com/ubuntu/ trusty/main libpython-stdlib i386 2.7.5-5ubuntu3 [7,010 B]                                                                        
Fetched 4,612 kB in 7s (597 kB/s)                                                                                                                                            
(Reading database ... 92459 files and directories currently installed.)
Preparing to replace libpython2.7 2.7.3-6 (using .../libpython2.7_2.7.6-8_i386.deb) ...
Unpacking replacement libpython2.7:i386 ...
Preparing to replace python2.7 2.7.3-6 (using .../python2.7_2.7.6-8_i386.deb) ...
Unpacking replacement python2.7 ...
Preparing to replace python2.7-minimal 2.7.3-6 (using .../python2.7-minimal_2.7.6-8_i386.deb) ...
Unpacking replacement python2.7-minimal ...
dpkg: warning: unable to delete old directory '/etc/python2.7': Directory not empty
Selecting previously unselected package libpython2.7-minimal:i386.
Unpacking libpython2.7-minimal:i386 (from .../libpython2.7-minimal_2.7.6-8_i386.deb) ...
Selecting previously unselected package libpython2.7-stdlib:i386.
Unpacking libpython2.7-stdlib:i386 (from .../libpython2.7-stdlib_2.7.6-8_i386.deb) ...
Preparing to replace python 2.7.3~rc2-1 (using .../python_2.7.5-5ubuntu3_i386.deb) ...
Unpacking replacement python ...
Preparing to replace python-minimal 2.7.3~rc2-1 (using .../python-minimal_2.7.5-5ubuntu3_i386.deb) ...
Unpacking replacement python-minimal ...
Selecting previously unselected package libpython-stdlib:i386.
Unpacking libpython-stdlib:i386 (from .../libpython-stdlib_2.7.5-5ubuntu3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
Setting up libpython2.7-minimal:i386 (2.7.6-8) ...
Setting up libpython2.7-stdlib:i386 (2.7.6-8) ...
Setting up libpython2.7:i386 (2.7.6-8) ...
Setting up python2.7-minimal (2.7.6-8) ...
Setting up python2.7 (2.7.6-8) ...
Setting up python-minimal (2.7.5-5ubuntu3) ...
Setting up libpython-stdlib:i386 (2.7.5-5ubuntu3) ...
Setting up python (2.7.5-5ubuntu3) ...
Setting up python-gi (3.12.0-1) ...
Setting up python-gobject (3.12.0-1) ...
Setting up python-aptdaemon (1.1.1-1ubuntu5) ...
Setting up python-aptdaemon.gtk3widgets (1.1.1-1ubuntu5) ...
Processing triggers for menu ...
root@crunchbang:/etc/apt# 
Und ja: Firefox funktioniert wirklich ;-)

Ich denke die Meldungen erklären aber warum es eine schlechte Idee ist innerhalb von Debian Programme aus Ubuntu zu installieren. Aber du kannst für neue Debian-Pakete natürlich die Wheezy-Backports oder auch Testing/Sid z.B. mit APT-Pinning nutzen. Das wird dann wohl etwas besser laufen.

Antworten