diff --git a/pamac/transaction.py b/pamac/transaction.py
index 52a8498a02fd19564c1ccd8e2b8d2cfa326c6645..bc416bc5e0f02137d2335b09f3d6af3ae548834b 100755
--- a/pamac/transaction.py
+++ b/pamac/transaction.py
@@ -121,12 +121,28 @@ def check_conflicts():
 					if name == target.name:
 						if not name in to_remove:
 							to_remove.append(installed_pkg.name)
+	for repo in handle.get_syncdbs():
+		for pkg in repo.pkgcache:
+			if pkg.replaces:
+				for name in pkg.replaces:
+					for installed_pkg in handle.get_localdb().pkgcache:
+						if name == installed_pkg.name:
+							if not name in to_remove:
+								to_remove.append(installed_pkg.name)
+								if warning:
+									warning = warning+'\n'
+								warning = warning+installed_pkg.name+' will be replaced by '+pkg.name
+							print(name)
+							if not pkg.name in to_add:
+								to_add.append(pkg.name)
 	if warning:
 		WarningDialog.format_secondary_text(warning)
 		response = WarningDialog.run()
 		if response:
 			WarningDialog.hide()
 
+
+
 def get_to_remove():
 	global to_remove
 	to_remove = To_Remove()
diff --git a/pamac/updater.py b/pamac/updater.py
index d43f5e2aba1903bec4a6c768ecaa4f40512882b4..ee14112a53d318154ec53268574f365df9cb3838 100755
--- a/pamac/updater.py
+++ b/pamac/updater.py
@@ -187,7 +187,7 @@ class Handler:
 		have_updates()
 
 def main():
-	#transaction.do_refresh()
+	transaction.do_refresh()
 	have_updates()
 	interface.connect_signals(Handler())
 	UpdateWindow.show_all()