ďťż
 
 
   dist-upgrade
 
 

Tematy

 
    
 

 

 

 

dist-upgrade





vash-v - 23-08-2007 18:15
jest mozliwosc wykonania upgrade'u systemu z warunkiem, by nie upgrade'owalo jadra na nowsze?

jak tak to jakim poleceniem?



karolp - 23-08-2007 18:36
zmieniasz wpisy w /etc/apt/sources.list (musisz dać takie wpisy jaką chcesz mieć wersję), potem:
sudo apt-get upgrade && sudo apt-get dist-upgrade te komendy nie ingerują w kernela.

//ewentualnie jak wolisz możesz użyć aptitude



Spass - 23-08-2007 19:14
A czasem wpisy w sources.list nie mają tu za wiele do rzeczy? Według mnie to kwestia posiadania paczek "zależnościowych" (tak ją nazwę, nie wiem czy poprawnie). Dokładniej opisując, mam u siebie aktualnie jądro linux-image-2.6.21-2-k7 i posiadam również paczkę zależnościową linux-image-2.6-k7, która dba o aktualizację jądra wersji 2.6.X-k7 przy upgradzie. Czyli musiałbym usunąć takie właśnie paczki zależnościowe (bo mam jeszcze paczkę niższego poziomu, czyli linux-image-k7), aby przy upgradzie systemu jądro zostało takie samo, mimo pojawienia się nowszego w repozytorium.

A więc, karolp, te komendy ingerują w kernela, gdy posiadamy do niego paczki zależniościowe.

Niech mnie ktoś poprawi, jak się mylę.



ruun - 23-08-2007 19:32
Zainteresuj sie poleceniami 'aptitude hold' i 'aptitude keep'


hold will cause a package to be ignored by future safe-upgrade or full-upgrade commands, while keep merely cancels any scheduled actions on the package. Wydaje mi się że chcesz uniknąć problemów jakie czasem występują po aktualizacji jądra. Unikanie problemów nie jest rozwiązaniem. Kiedyś i tak będziesz musiał zaktualizować jądro, a im wcześniej sie tego nauczysz tym lepiej dla Ciebie.



vash-v - 23-08-2007 20:40
mysle ze ruun ma racje.

bledem jaki mi wyskakuje jest:
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/vash-v/rtl8185_linux_26.1010.0531.2006/ieee80211/tmp
make -C /lib/modules/2.6.21-2-amd64/build M=/home/vash-v/rtl8185_linux_26.1010.0531.2006/ieee80211 CC=gcc modules
make: *** /lib/modules/2.6.21-2-amd64/build: Nie ma takiego pliku ani katalogu. Stop.
make: *** [modules] Błąd 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/vash-v/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/tmp
make -C /lib/modules/2.6.21-2-amd64/build M=/home/vash-v/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1 CC=gcc modules
make: *** /lib/modules/2.6.21-2-amd64/build: Nie ma takiego pliku ani katalogu. Stop.
make: *** [modules] Błąd 2 doszedlem do wniosku ze pomoc moze instalacja odpowiedniego linux-headers i/lub build-essential , ewentualnie linux-kbuild
myslicie ze to moze pomoc?



Yampress - 23-08-2007 20:56
noo :) spróbuj



vash-v - 24-08-2007 01:14
niestety ale nie pomoglo:(

zna ktos jakies rozwiazanie?
czego moze brakowac podczas kompilacji??
jakich paczek?



Yampress - 24-08-2007 09:54
zobacz czy masz zainstalowane

kernel-package,
debhelper;
modutils;
fakeroot,
binutils,
bzip2,
fileutils,
libc6-dev,
gcc,
make,
libncurses5-dev,
bin86



vash-v - 24-08-2007 14:23
zainstalowalem wszystkie powyzsze pakiety (instalowalem je z starszego kernela (w nowym nie mam takiej opcji bo nie mam sieci), jednak nie pomogly.
oto co mi wychodzi gdy chce dodac swoja karte sieciowa:

freedom:/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006# ./makedrv
ieee80211/
ieee80211/ieee80211_tx.c
ieee80211/Modules.symvers
ieee80211/ieee80211_softmac_wx.c
ieee80211/LICENSE
ieee80211/ieee80211_rx.c
ieee80211/ieee80211_crypt_tkip.c
ieee80211/ieee80211_crypt.h
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_module.c
ieee80211/Makefile
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/ieee80211.h
ieee80211/ieee80211_softmac.c
ieee80211/README
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211_crypt.c
rtl818x-0.1/
rtl818x-0.1/r8180_wx.h
rtl818x-0.1/r8180_wx.c
rtl818x-0.1/r8180_rtl8225.h
rtl818x-0.1/r8180_rtl8255.h
rtl818x-0.1/AUTHORS
rtl818x-0.1/r8180_max2820.c
rtl818x-0.1/r8180.h
rtl818x-0.1/r8180_max2820.h
rtl818x-0.1/tags
rtl818x-0.1/r8180_sa2400.h
rtl818x-0.1/r8180_93cx6.c
rtl818x-0.1/ieee80211.h
rtl818x-0.1/r8180_gct.c
rtl818x-0.1/r8180_gct.h
rtl818x-0.1/.r8180_core.o.d
rtl818x-0.1/r8180_rtl8225.c.old
rtl818x-0.1/Modules.symvers
rtl818x-0.1/CHANGES
rtl818x-0.1/LICENSE
rtl818x-0.1/r8180_93cx6.h
rtl818x-0.1/README.master
rtl818x-0.1/r8180_hw.h
rtl818x-0.1/README
rtl818x-0.1/r8180_pm.c
rtl818x-0.1/r8180_sa2400.c
rtl818x-0.1/COPYING
rtl818x-0.1/README.adhoc
rtl818x-0.1/r8180_rtl8225.c
rtl818x-0.1/.tmp_versions/
rtl818x-0.1/.tmp_versions/r8180.mod
rtl818x-0.1/INSTALL
rtl818x-0.1/r8180_rtl8255.c
rtl818x-0.1/r8180_core.c
rtl818x-0.1/r8180_pm.h
rtl818x-0.1/Makefile
rtl818x-0.1/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/tmp
make -C /lib/modules/2.6.21-2-amd64/build M=/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211 CC=gcc modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.21-2-amd64'
  CC [M]  /home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.o
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:391: warning: ISO C90 forbids mixed declarations and code
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:412: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_stop_scan’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:486: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_abort’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:885: warning: passing argument 2 of ‘queue_delayed_work’ from incompatible pointer type
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:1359:4: warning: #warning CHECK_LOCK_HERE
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:1399:2: warning: #warning CHECK_LOCK_HERE
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_rx_frame_softmac’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:1470: warning: ISO C90 forbids mixed declarations and code
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_stop_protocol’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2059: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2167:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2167: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2167: error: (Each undeclared identifier is reported only once
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2167: error: for each function it appears in.)
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2168:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2169:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2170:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2171:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2172:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_free’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.c:2191: warning: passing argument 1 of ‘cancel_delayed_work’ from incompatible pointer type
make[2]: *** [/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211/ieee80211_softmac.o] Błąd 1
make[1]: *** [_module_/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/ieee80211] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.21-2-amd64'
make: *** [modules] Błąd 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/tmp
make -C /lib/modules/2.6.21-2-amd64/build M=/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1 CC=gcc modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.21-2-amd64'
  CC [M]  /home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.o
In file included from /home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:61:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180.h:29:26: error: linux/config.h: Nie ma takiego pliku ani katalogu
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘proc_get_stats_hw’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:354: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:355: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:358: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:359: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:362: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:363: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:363: warning: format ‘%x’ expects type ‘unsigned int’, but argument 8 has type ‘dma_addr_t’
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:363: warning: format ‘%x’ expects type ‘unsigned int’, but argument 12 has type ‘dma_addr_t’
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:363: warning: format ‘%x’ expects type ‘unsigned int’, but argument 16 has type ‘dma_addr_t’
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:363: warning: format ‘%x’ expects type ‘unsigned int’, but argument 8 has type ‘dma_addr_t’
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:363: warning: format ‘%x’ expects type ‘unsigned int’, but argument 12 has type ‘dma_addr_t’
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:363: warning: format ‘%x’ expects type ‘unsigned int’, but argument 16 has type ‘dma_addr_t’
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘check_tx_ring’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:862: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:862: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:863: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:863: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘alloc_tx_desc_ring’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:1544: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:1544: warning: cast to pointer from integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘alloc_rx_desc_ring’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:1722: warning: cast from pointer to integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:1722: warning: cast to pointer from integer of different size
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:2953:67: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_init’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:2953: error: ‘INIT_WORK’ undeclared (first use in this function)
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:2953: error: (Each undeclared identifier is reported only once
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:2953: error: for each function it appears in.)
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:3276: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c: In function ‘rtl8180_pci_probe’:
/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.c:4031: error: ‘struct net_device’ has no member named ‘get_wireless_stats’
make[2]: *** [/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1/r8180_core.o] Błąd 1
make[1]: *** [_module_/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006/rtl818x-0.1] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.21-2-amd64'
make: *** [modules] Błąd 2
freedom:/home/vash-v/Desktop/drivers/linux/rtl8185_linux_26.1010.0531.2006# mam nadzieje ze ktos zna rozwiazanie tego problemu...
...inaczej bede musial leciec caly czas na starym kernelu:(



dawideo - 24-08-2007 18:25
A ja mam takie pytanko czym się różni update od upgrade?? Bo dist-upgrade to mi uaktylia cały system. A te dwa czym się różnią??? I co kiedy stosować. Bo np przy w HOW To instalaci compiza jest update...



Spass - 24-08-2007 18:43
dawideo, poczytaj:

man aptitude man apt-get



dawideo - 24-08-2007 19:01
Wow dzięki
Dowiedziałem też się innych rzeczy:)
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • minister.pev.pl

  •  

     


     

     
    Copyright 2003. MĂłj serwis